[media] smiapp: Check for GPIO validity using gpio_is_valid()
authorSakari Ailus <sakari.ailus@iki.fi>
Sun, 4 May 2014 00:31:56 +0000 (21:31 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 23 May 2014 14:31:19 +0000 (11:31 -0300)
commit9945374e6d2ff63efe903dedb3d04f18c18efafc
tree93d69eb848de7a774c3346f046188205bbe4b699
parent5fba9888c1303a65bd788b34846867477fac7911
[media] smiapp: Check for GPIO validity using gpio_is_valid()

Do not use our special value, SMIAPP_NO_XSHUTDOWN.

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/smiapp/smiapp-core.c