diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2013-06-01 02:36:55 +0530 |
---|---|---|
committer | Riham Haidar <rhaidar@nvidia.com> | 2013-06-03 17:53:51 -0700 |
commit | 6d7070a52c1e909e617bcfdb1482bbb9fc1c02d6 (patch) | |
tree | 32458ea291432220dea6d197d124778e9e763062 /include | |
parent | f55c8459262c4ef42d854e3377ad87c11d2d8376 (diff) |
power: bq2419x-charger: remove power supply notification
The BQ2419X charger driver is capable of setting charging current
but not able to detect the power supply source whether it is AC or
USB. Hence generating the notification from charger driver based
on charging current is inaccurate.
Removing the power supply change notification code.
bug 1286396
Change-Id: I7758c6f36e8c312f79a1ff7cff7fd18858e45de7
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/234759
Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/power/bq2419x-charger.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/power/bq2419x-charger.h b/include/linux/power/bq2419x-charger.h index d3310558384d..5f61243a1220 100644 --- a/include/linux/power/bq2419x-charger.h +++ b/include/linux/power/bq2419x-charger.h @@ -106,8 +106,6 @@ struct bq2419x_vbus_platform_data { * struct bq2419x_charger_platform_data - bq2419x charger platform data. */ struct bq2419x_charger_platform_data { - unsigned use_mains:1; - unsigned use_usb:1; void (*update_status)(int, int); int (*battery_check)(void); |