Re: [PATCH] regulator: kconfig: make max8973 driver to depend on GPIOLIB

From: Mark Brown
Date: Wed Apr 08 2015 - 12:43:40 EST


On Wed, Apr 08, 2015 at 07:07:07PM +0530, Laxman Dewangan wrote:
> MAX8973 regulator driver uses the GPIO APIs for accessing the
> control signal connected to its pin from host processor.
>
> Make this driver depends on GPIOLIB.

The GPIO usage in the driver appears to be optional, it handles the GPIO
not being controllable. This suggests to me that the gpiolib dependency
shouldn't be required and that it would be better to fix this by
ensuring that all the gpiolib functions being used have appropriate
stubs. Which ones are causing problems?

Attachment: signature.asc
Description: Digital signature