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.shevche...@linux.intel.com> Intel Finland Oy