Searched hist:d40dfa0c (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/net/ethernet/wiznet/ |
H A D | w5100.h | d40dfa0c Fri Oct 15 01:56:15 CDT 2021 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> net: w5100: Make w5100_remove() return void
Up to now w5100_remove() returns zero unconditionally. Make it return void instead which makes it easier to see in the callers that there is no error to handle.
Also the return value of platform and spi remove callbacks is ignored anyway.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | w5100-spi.c | d40dfa0c Fri Oct 15 01:56:15 CDT 2021 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> net: w5100: Make w5100_remove() return void
Up to now w5100_remove() returns zero unconditionally. Make it return void instead which makes it easier to see in the callers that there is no error to handle.
Also the return value of platform and spi remove callbacks is ignored anyway.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | w5100.c | d40dfa0c Fri Oct 15 01:56:15 CDT 2021 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> net: w5100: Make w5100_remove() return void
Up to now w5100_remove() returns zero unconditionally. Make it return void instead which makes it easier to see in the callers that there is no error to handle.
Also the return value of platform and spi remove callbacks is ignored anyway.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
|