Re: [PATCH 04/15] power: supply: bq24190_charger: Add no_register_reset pdata flag

Andy Shevchenko
2017-03-17T17:23:01Z

On Fri, 2017-03-17 at 10:55 +0100, Hans de Goede wrote:
> On some platforms the register have been setup with platform specific
> values by the firmware and should not be reset.
>

I would not extend platform data at all.
For GPIO we may use GPIO lookup tables, for the rest -- unified (built-
in) device properties API.

Consider to get rid of
include/linux/power/bq24190_charger.h
completely.

--
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Intel Finland Oy