diff options
author | Jin Park <jinyoungp@nvidia.com> | 2011-06-03 20:25:49 +0900 |
---|---|---|
committer | Niket Sirsi <nsirsi@nvidia.com> | 2011-06-20 19:54:57 -0700 |
commit | 9877d85b7e39a8cfaea245e55b1a7c5e5c18a82d (patch) | |
tree | 660b95dde058c6030517e204853d2bc8488354b5 /drivers/regulator | |
parent | 886517603c1576796e3a1ca349ba69efeed5ecae (diff) |
aat2870: Change suspend and resume event source
Change aat2870_bl suspend and resume event source to backlight driver
from platform driver.
Clean-up codes.
Bug 813111
Change-Id: If04b77bf0c3c3118f05107db6ffeaea7a21cdfac
Signed-off-by: Jin Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/35390
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/aat2870-regulator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/regulator/aat2870-regulator.c b/drivers/regulator/aat2870-regulator.c index c9939ff526db..a119fff6eefc 100644 --- a/drivers/regulator/aat2870-regulator.c +++ b/drivers/regulator/aat2870-regulator.c @@ -33,7 +33,7 @@ struct aat2870_regulator { struct platform_device *pdev; struct regulator_desc desc; - int *voltages; /* uV */ + const int *voltages; /* uV */ int min_uV; int max_uV; @@ -145,7 +145,7 @@ static struct regulator_ops aat2870_ldo_ops = { .is_enabled = aat2870_ldo_is_enabled, }; -static int aat2870_ldo_voltages[] = { +static const int aat2870_ldo_voltages[] = { 1200000, 1300000, 1500000, 1600000, 1800000, 2000000, 2200000, 2500000, 2600000, 2700000, 2800000, 2900000, |