Tag: 275b5d2061c20749582060be68b6ec4692736d28

drivers: char: Use PTR_RET function

Author: Alexandru Gheorghiu <gheorghiuandru@gmail.com> Used PTR_RET function instead of IS_ERR and PTR_ERR. Patch found using coccinelle. Signed-off-by: Alexandru Gheorghiu Signed-off-by: Greg Kroah-Hartman — drivers/char/tile-srom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/char/tile-srom.c b/drivers/char/tile-srom.c index 3b22a60..2e2036e 100644 — a/drivers/char/tile-srom.c +++ b/drivers/char/tile-srom.c @@ -371,7 +371,7 @@ static int srom_setup_minor(struct srom_dev *srom, …

Continue reading