Tag: 48c2169fd9922314d990f944068f107a3284434e

drivers: video: omap2: dss: Use PTR_RET function

Author: Alexandru Gheorghiu <gheorghiuandru@gmail.com> Use PTR_RET function instead of IS_ERR and PTR_ERR. Patch found using coccinelle. Signed-off-by: Alexandru Gheorghiu Signed-off-by: Tomi Valkeinen — drivers/video/omap2/dss/core.c | 5 +—- 1 file changed, 1 insertion(+), 4 deletions(-)   diff –git a/drivers/video/omap2/dss/core.c b/drivers/video/omap2/dss/core.c index f8779d4..60cc6fe 100644 — a/drivers/video/omap2/dss/core.c +++ b/drivers/video/omap2/dss/core.c @@ -181,10 +181,7 @@ int dss_debugfs_create_file(const char *name, void …

Continue reading