regulators: max8660: use i2c_id->driver_data rather than ->name
authorDaniel Mack <zonque@gmail.com>
Fri, 2 Aug 2013 08:19:15 +0000 (10:19 +0200)
committerMark Brown <broonie@linaro.org>
Fri, 2 Aug 2013 10:22:54 +0000 (11:22 +0100)
Introduce an enum and denote the device type via struct i2c_id's
driver_data field rather than comparing strings.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/max8660.c

Simple merge