sun6i: axp221: Add axp221_get_sid function
authorHans de Goede <hdegoede@redhat.com>
Tue, 25 Nov 2014 15:37:52 +0000 (16:37 +0100)
committerHans de Goede <hdegoede@redhat.com>
Wed, 14 Jan 2015 13:56:36 +0000 (14:56 +0100)
commitf3fba5665b066615a39d157a4a4970824695b91d
tree92d99838c315cec480bb45f977869903bd616df5
parentfc3a832576ce7bb597b1823935bfb7dcca235c3c
sun6i: axp221: Add axp221_get_sid function

For sun6i the SID is stored in the pmic, rather then in the SoC itself,
add a function to retreive the sid.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
drivers/power/axp221.c
include/axp221.h