]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/staging/greybus/core.c
greybus: core: Rename greybus_module_match()
[karo-tx-linux.git] / drivers / staging / greybus / core.c
index 3fdc40597f1648d4857d10be85b77e3c4411c793..a44846dd5d79beb8681fa743d1bc2bc19a634b1f 100644 (file)
@@ -64,7 +64,7 @@ greybus_match_id(struct gb_bundle *bundle, const struct greybus_bundle_id *id)
        return NULL;
 }
 
-static int greybus_module_match(struct device *dev, struct device_driver *drv)
+static int greybus_match_device(struct device *dev, struct device_driver *drv)
 {
        struct greybus_driver *driver = to_greybus_driver(drv);
        struct gb_bundle *bundle;
@@ -151,7 +151,7 @@ static int greybus_uevent(struct device *dev, struct kobj_uevent_env *env)
 
 struct bus_type greybus_bus_type = {
        .name =         "greybus",
-       .match =        greybus_module_match,
+       .match =        greybus_match_device,
        .uevent =       greybus_uevent,
 };