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)
commita7af2fe6d1baa45e73531fb994444fa0f59d8f62
tree14f27f01a39897a85b8a67c7cf39eda6c0e2152f
parent7434564ca130552f3f873d0a7e87286a16890c32
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