OSDN Git Service

qcom-charger: smb138x: Add MODEL_NAME property for parallel
authorAbhijeet Dharmapurikar <adharmap@codeaurora.org>
Fri, 6 Jan 2017 20:16:49 +0000 (12:16 -0800)
committerAbhijeet Dharmapurikar <adharmap@codeaurora.org>
Fri, 20 Jan 2017 21:04:46 +0000 (13:04 -0800)
commitc9f6c20965e14ace70525132e5799f0fd12a9f03
tree1e5854d5aaa54e083d20322c5ea588d852103433
parentfdddc49ef25b6efe57e7a6e15b59dfb253dc496b
qcom-charger: smb138x: Add MODEL_NAME property for parallel

Currently there is no easy way to detect the device name based on
the bus or device sysfs properties.

Implement MODEL_NAME property to identify the parallel charger.

Change-Id: I8134b415a2b36e249b098f4b61d4dd8415008cfa
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
drivers/power/supply/qcom/smb138x-charger.c