staging: greybus: power_supply: remove KERNEL_VERSION checks
authorRui Miguel Silva <rui.silva@linaro.org>
Thu, 8 Sep 2016 16:17:50 +0000 (17:17 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Mon, 19 Sep 2016 14:48:44 +0000 (16:48 +0200)
commit722a133a6a6687bba21cfdf33bde5767109d0dea
tree961a8eec05edf796eb2b46d10c98c217a6f98acb
parent2064ae5741f49a3e8c178680390eb296592562c1
staging: greybus: power_supply: remove KERNEL_VERSION checks

No need to support older kernel versions in the Greybus Power Supply
driver, so remove the checks as needed, we can now rely on all of the
correct Power Supply core apis being present. Also move some properties
definitions to the power supply greybus code.

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/kernel_ver.h
drivers/staging/greybus/power_supply.c