]> git.baikalelectronics.ru Git - kernel.git/commit
staging: greybus: light: remove KERNEL_VERSION checks
authorRui Miguel Silva <rui.silva@linaro.org>
Thu, 8 Sep 2016 16:17:48 +0000 (17:17 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Mon, 19 Sep 2016 14:46:34 +0000 (16:46 +0200)
commitc7ff1e709250a376bb9dc25d810237380dc83600
tree14f27f01a39897a85b8a67c7cf39eda6c0e2152f
parent9f87221ec449cbf3cd69f9e5d459596e8ac4691c
staging: greybus: light: remove KERNEL_VERSION checks

No need to support older kernel versions in the Greybus Light driver, so
remove the checks as needed, we can now rely on all of the correct LED
core apis being present. And compile only if flash and v4l2 flash is
reachable.

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/light.c