]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitde00f319b87d4db9d6d16f857d968235cf78712d
tree961a8eec05edf796eb2b46d10c98c217a6f98acb
parent3a9c86128189ca9b612b316b1d86a9961a2cdad9
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