summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/nvram.c
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2013-08-02 10:19:15 +0200
committerMark Brown <broonie@linaro.org>2013-08-02 12:22:54 +0200
commit4a678f037475edd362a18fc3c4616d6222be3042 (patch)
treee47b9bbe8f3ddffd1099b93f35be8d6ff80a8399 /drivers/macintosh/nvram.c
parentregulator: use dev_get_platdata() (diff)
downloadlinux-4a678f037475edd362a18fc3c4616d6222be3042.tar.xz
linux-4a678f037475edd362a18fc3c4616d6222be3042.zip
regulators: max8660: use i2c_id->driver_data rather than ->name
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>
Diffstat (limited to 'drivers/macintosh/nvram.c')
0 files changed, 0 insertions, 0 deletions