]> git.karo-electronics.de Git - linux-beck.git/commitdiff
greybus: legacy: remove unimplemented classes from id table
authorJohan Hovold <johan@hovoldconsulting.com>
Fri, 29 Jan 2016 14:42:30 +0000 (15:42 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 2 Feb 2016 01:52:20 +0000 (17:52 -0800)
Remove the unimplemented display, sensor, and svc classes from the
device-id table.

As Viresh noted the SVC protocol is special and having an SVC class
doesn't really make sense at all. Either way, the SVC protocol is
already implemented by core.

Testing Done: Compiled

Reported-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/legacy.c

index 677a949cb0ec005d2a29782a53b84801ee6591b0..900521ab6931ed268beb4ccf9c7066c6a24d94ab 100644 (file)
@@ -244,12 +244,9 @@ static const struct greybus_bundle_id legacy_id_table[] = {
        { GREYBUS_DEVICE_CLASS(GREYBUS_CLASS_POWER_SUPPLY) },
        { GREYBUS_DEVICE_CLASS(GREYBUS_CLASS_PWM) },
        { GREYBUS_DEVICE_CLASS(GREYBUS_CLASS_SPI) },
-       { GREYBUS_DEVICE_CLASS(GREYBUS_CLASS_DISPLAY) },
        { GREYBUS_DEVICE_CLASS(GREYBUS_CLASS_CAMERA) },
-       { GREYBUS_DEVICE_CLASS(GREYBUS_CLASS_SENSOR) },
        { GREYBUS_DEVICE_CLASS(GREYBUS_CLASS_LIGHTS) },
        { GREYBUS_DEVICE_CLASS(GREYBUS_CLASS_LOOPBACK) },
-       { GREYBUS_DEVICE_CLASS(GREYBUS_CLASS_SVC) },
        { GREYBUS_DEVICE_CLASS(GREYBUS_CLASS_FIRMWARE) },
        { GREYBUS_DEVICE_CLASS(GREYBUS_CLASS_RAW) },
        { }