mfd: palmas: remove unused platform data
Laxman Dewangan [Fri, 15 Mar 2013 11:36:37 +0000 (16:36 +0530)]
The pad configuration platform data pad1, pad2, pad3 is no more used
in driver and hence removing this.

bug 1242260
Bug 1249130
Bug 1249783

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/209995
(Cherry picked from commit 7fd012138934f679b276fdb6688daf7cf0286ec3)

Change-Id: I37a2dfbbb5970baa5deb29494a827b2bd7f822bf
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/214918
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

include/linux/mfd/palmas.h

index aa21aea..3346f42 100644 (file)
@@ -308,13 +308,6 @@ struct palmas_platform_data {
        /* bit value to be loaded to the POWER_CTRL register */
        u8 power_ctrl;
 
-       /*
-        * boolean to select if we want to configure muxing here
-        * then the two value to load into the registers if true
-        */
-       int mux_from_pdata;
-       u8 pad1, pad2, pad3, pad4;
-
        struct palmas_pmic_platform_data *pmic_pdata;
        struct palmas_gpadc_platform_data *gpadc_pdata;
        struct palmas_usb_platform_data *usb_pdata;