diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-11-24 14:20:30 -0500 |
---|---|---|
committer | Samuel Ortiz <samuel@sortiz.org> | 2009-01-04 06:17:38 -0500 |
commit | d756f4a4446227ca9626087939a6769ca55ab036 (patch) | |
tree | 572e6788f3aa01c74c1c8ebb139b0d8a137cdd72 /include/linux/mfd | |
parent | 14431aa0c5a443d13d24e6f865a8838f97dab973 (diff) |
mfd: Switch WM8350 revision detection to a feature based model
Rather than check for chip revisions in the WM8350 drivers have the core
code set flags for relevant differences.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/wm8350/core.h | 2 | ||||
-rw-r--r-- | include/linux/mfd/wm8350/supply.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mfd/wm8350/core.h b/include/linux/mfd/wm8350/core.h index d2614dfc9397..3c9735663f36 100644 --- a/include/linux/mfd/wm8350/core.h +++ b/include/linux/mfd/wm8350/core.h | |||
@@ -585,8 +585,6 @@ struct wm8350_irq { | |||
585 | }; | 585 | }; |
586 | 586 | ||
587 | struct wm8350 { | 587 | struct wm8350 { |
588 | int rev; /* chip revision */ | ||
589 | |||
590 | struct device *dev; | 588 | struct device *dev; |
591 | 589 | ||
592 | /* device IO */ | 590 | /* device IO */ |
diff --git a/include/linux/mfd/wm8350/supply.h b/include/linux/mfd/wm8350/supply.h index 79721513fa9f..2b9479310bbd 100644 --- a/include/linux/mfd/wm8350/supply.h +++ b/include/linux/mfd/wm8350/supply.h | |||
@@ -127,6 +127,8 @@ struct wm8350_power { | |||
127 | struct power_supply usb; | 127 | struct power_supply usb; |
128 | struct power_supply ac; | 128 | struct power_supply ac; |
129 | struct wm8350_charger_policy *policy; | 129 | struct wm8350_charger_policy *policy; |
130 | |||
131 | int rev_g_coeff; | ||
130 | }; | 132 | }; |
131 | 133 | ||
132 | #endif | 134 | #endif |