mfd: Convert pcf50633 to use new register map API
PATCH 1/1 mfd: Convert pcf50633 to use new register map API
Signed-off-by Mark Brown <[email protected]>
--- drivers/mfd/Kconfig | 1 + drivers/mfd/pcf50633-core.c | 114 +++++++++++------------------------- include/linux/mfd/pcf50633/core.h | 3 +- 3 files changed, 38 insertions(+), 80 deletions(-)
drivers/mfd/Kconfig +1 -0
@@ -500,6 +500,7 @@ config MFD_WM8994 config MFD_PCF50633 tristate "Support for NXP PCF50633" depends on I2C + select REGMAP_I2C help Say yes here if you have NXP PCF50633 chip on your board. This core driver provides register access and IRQ handling
drivers/mfd/pcf50633-core.c +35 -79
191 lines not on this page · raw message
include/linux/mfd/pcf50633/core.h +2 -1
@@ -21,6 +21,7 @@#include <linux/mfd/pcf50633/backlight.h> struct pcf50633 ; +struct regmap ;#define PCF50633_NUM_REGULATORS 11
@@ -134,7 +135,7 @@ enum {struct pcf50633 {struct device *dev; -struct i2c_client *i2c_client; +struct regmap *regmap;struct pcf50633_platform_data *pdata;int irq;
Signature · 1 line
1.7.5.4
Quoted 1 line · Mark Brown
Signed-off-by Mark Brown <[email protected]>
Tested-by Lars-Peter Clausen <[email protected]>
Quoted 6 lines
--- drivers/mfd/Kconfig | 1 + drivers/mfd/pcf50633-core.c | 114 +++++++++++------------------------- include/linux/mfd/pcf50633/core.h | 3 +- 3 files changed, 38 insertions(+), 80 deletions(-)[...]
Hi Mark,
Quoted 1 line · Mark Brown
Signed-off-by Mark Brown <[email protected]>
Patch applied, thanks.
Cheers,
Samuel.
Signature · 2 lines
Intel Open Source Technology Centre http://oss.intel.com/