OSDN Git Service

[media] smiapp: Clean up smiapp_get_pdata()
authorSakari Ailus <sakari.ailus@iki.fi>
Mon, 9 Mar 2015 23:44:40 +0000 (20:44 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 3 Apr 2015 01:24:00 +0000 (22:24 -0300)
commit0fd68f2f7aee2343f2396188362ba41447d8004f
tree957c672bf80f9f0983ed77c0b0032c01155030bf
parentc4c0283ab3cd78f8c53e708f8e75e8ed80468a31
[media] smiapp: Clean up smiapp_get_pdata()

Don't set rval when it's not used (the function returns a pointer to struct
smiapp_platform_data).

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/smiapp/smiapp-core.c