From: Rui Miguel Silva Date: Mon, 17 Aug 2015 16:03:43 +0000 (+0100) Subject: greybus: greybus_protocol: remove unused lights macros X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7ee582680230f56ad43afc9cbb46e050e1027afb;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git greybus: greybus_protocol: remove unused lights macros 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 Reviewed-by: Viresh Kumar Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/greybus_protocols.h b/drivers/staging/greybus/greybus_protocols.h index 32b927f901f7..0c11bec39065 100644 --- a/drivers/staging/greybus/greybus_protocols.h +++ b/drivers/staging/greybus/greybus_protocols.h @@ -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