mfd: Convert pcf50633 to use new register map API

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Tested-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Mark Brown
2011-08-08 17:04:40 +09:00
committed by Samuel Ortiz
parent d036c96e70
commit 6e3ad11804
3 changed files with 38 additions and 80 deletions

View File

@@ -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;