media: m5mols: Convert to use GPIO descriptors
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 24 Feb 2022 00:13:07 +0000 (01:13 +0100)
committerSakari Ailus <sakari.ailus@linux.intel.com>
Fri, 4 Mar 2022 07:36:26 +0000 (09:36 +0200)
commitaaaf357fa61c00376cd8718d36bf06b7f0cbeead
tree69fd080ea40b9497059f16eb3b65e168cf5c4899
parentb70f5cd874ccf85c20882e12ba75a61a11ce4018
media: m5mols: Convert to use GPIO descriptors

The Fujitsu M5MOLS sensor driver is using a reset GPIO number
passed from platform data.

No machine/board descriptor file in the kernel is using this so
let's replace it with a GPIO descriptor.

Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Heungjun Kim <riverful.kim@samsung.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
drivers/media/i2c/m5mols/m5mols.h
drivers/media/i2c/m5mols/m5mols_capture.c
drivers/media/i2c/m5mols/m5mols_core.c
include/media/i2c/m5mols.h