From: Greg Kroah-Hartman Date: Mon, 11 Aug 2014 09:27:07 +0000 (+0800) Subject: greybus: greybus.h: tiny coding style cleanups X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=776f136c75f2c2346a8fca698ef81d15245f5a00;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git greybus: greybus.h: tiny coding style cleanups --- diff --git a/drivers/staging/greybus/greybus.h b/drivers/staging/greybus/greybus.h index 8158e45393a9..28b3148fb1da 100644 --- a/drivers/staging/greybus/greybus.h +++ b/drivers/staging/greybus/greybus.h @@ -45,12 +45,12 @@ struct greybus_device { struct greybus_driver { const char *name; - int (*probe) (struct greybus_device *gdev, - const struct greybus_device_id *id); - void (*disconnect) (struct greybus_device *gdev); + int (*probe)(struct greybus_device *gdev, + const struct greybus_device_id *id); + void (*disconnect)(struct greybus_device *gdev); - int (*suspend) (struct greybus_device *gdev, pm_message_t message); - int (*resume) (struct greybus_device *gdev); + int (*suspend)(struct greybus_device *gdev, pm_message_t message); + int (*resume)(struct greybus_device *gdev); const struct greybus_device_id *id_table; @@ -60,12 +60,12 @@ struct greybus_driver { static inline void greybus_set_drvdata(struct greybus_device *gdev, void *data) { - dev_set_drvdata(&gdev->dev, data); + dev_set_drvdata(&gdev->dev, data); } static inline void *greybus_get_drvdata(struct greybus_device *gdev) { - return dev_get_drvdata(&gdev->dev); + return dev_get_drvdata(&gdev->dev); } /* Don't call these directly, use the module_greybus_driver() macro instead */