]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
greybus: greybus_protocol: remove unused lights macros
authorRui Miguel Silva <rui.silva@linaro.org>
Mon, 17 Aug 2015 16:03:43 +0000 (17:03 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 18 Aug 2015 16:31:07 +0000 (09:31 -0700)
Greybus core now handle the _INVALID and PROTOCOL_VERSION types, so no
need to have specific protocol macros for this. Just drop them.

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/greybus_protocols.h

index 32b927f901f705e4dfead51f2c7efd56d89abbdf..0c11bec39065670225059aa30a2541d0221a9ccd 100644 (file)
@@ -1073,8 +1073,6 @@ struct gb_sdio_event_request {
 #define GB_LIGHTS_VERSION_MINOR 0x01
 
 /* Greybus Lights request types */
-#define GB_LIGHTS_TYPE_INVALID                 0x00
-#define GB_LIGHTS_TYPE_PROTOCOL_VERSION                0x01
 #define GB_LIGHTS_TYPE_GET_LIGHTS              0x02
 #define GB_LIGHTS_TYPE_GET_LIGHT_CONFIG                0x03
 #define GB_LIGHTS_TYPE_GET_CHANNEL_CONFIG      0x04