[media] smiapp: Switch to gpiod API for GPIO control
Switch from the old gpio API to the new descriptor based gpiod API. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Reviewed-by: Sebastian Reichel <sre@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
7374300191
commit
567716c581
@@ -200,6 +200,7 @@ struct smiapp_sensor {
|
||||
struct smiapp_hwconfig *hwcfg;
|
||||
struct regulator *vana;
|
||||
struct clk *ext_clk;
|
||||
struct gpio_desc *xshutdown;
|
||||
u32 limits[SMIAPP_LIMIT_LAST];
|
||||
u8 nbinning_subtypes;
|
||||
struct smiapp_binning_subtype binning_subtypes[SMIAPP_BINNING_SUBTYPES];
|
||||
|
Reference in New Issue
Block a user