Tag: 8179bb2655b607d4c3e8cea10a60eb3cf8557b63

spi/spidev: Use PTR_RET function

Author: Alexandru Gheorghiu <gheorghiuandru@gmail.com> Replaced calls to IS_ERR and PTR_ERR with PTR_RET function. Patch found using coccinelle. Signed-off-by: Alexandru Gheorghiu Signed-off-by: Mark Brown — drivers/spi/spidev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index 2e0655d..911e9e0 100644 — a/drivers/spi/spidev.c +++ b/drivers/spi/spidev.c @@ -603,7 +603,7 @@ static int spidev_probe(struct spi_device …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.