]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
abx500-chargalg: Store the AB8500 MFD parent device for platform differentiation
authorLee Jones <lee.jones@linaro.org>
Fri, 15 Feb 2013 10:53:57 +0000 (10:53 +0000)
committerLee Jones <lee.jones@linaro.org>
Thu, 7 Mar 2013 04:35:35 +0000 (12:35 +0800)
commit330b7ebfa59d70ea5b814a04a28b8c7d8e462a81
tree67a39965bfd503f4c5e325c5219ba678fd4fe4de
parent584f970339bb259d4ac7dd82b355f283550193b2
abx500-chargalg: Store the AB8500 MFD parent device for platform differentiation

Any platform can be dynamically probed for model and version number
provided the AB8500 MFD parent device pointer is available. This
patch obtains that pointer and stores it in a locally controlled
struct for later use.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/power/abx500_chargalg.c