Commit a11ac9ef authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

staging: greybus: hd: Fix up some alignment checkpatch issues

Some function prototypes do not match the expected alignment formatting
so fix that up so that checkpatch is happy.

Cc: Johan Hovold <johan@kernel.org>
Cc: greybus-dev@lists.linaro.org
Cc: devel@driverdev.osuosl.org
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Acked-by: default avatarAlex Elder <elder@kernel.org>
Link: https://lore.kernel.org/r/20190825055429.18547-4-gregkh@linuxfoundation.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 137bfbd0
...@@ -31,7 +31,7 @@ int gb_hd_output(struct gb_host_device *hd, void *req, u16 size, u8 cmd, ...@@ -31,7 +31,7 @@ int gb_hd_output(struct gb_host_device *hd, void *req, u16 size, u8 cmd,
EXPORT_SYMBOL_GPL(gb_hd_output); EXPORT_SYMBOL_GPL(gb_hd_output);
static ssize_t bus_id_show(struct device *dev, static ssize_t bus_id_show(struct device *dev,
struct device_attribute *attr, char *buf) struct device_attribute *attr, char *buf)
{ {
struct gb_host_device *hd = to_gb_host_device(dev); struct gb_host_device *hd = to_gb_host_device(dev);
...@@ -70,7 +70,7 @@ EXPORT_SYMBOL_GPL(gb_hd_cport_release_reserved); ...@@ -70,7 +70,7 @@ EXPORT_SYMBOL_GPL(gb_hd_cport_release_reserved);
/* Locking: Caller guarantees serialisation */ /* Locking: Caller guarantees serialisation */
int gb_hd_cport_allocate(struct gb_host_device *hd, int cport_id, int gb_hd_cport_allocate(struct gb_host_device *hd, int cport_id,
unsigned long flags) unsigned long flags)
{ {
struct ida *id_map = &hd->cport_id_map; struct ida *id_map = &hd->cport_id_map;
int ida_start, ida_end; int ida_start, ida_end;
...@@ -122,9 +122,9 @@ struct device_type greybus_hd_type = { ...@@ -122,9 +122,9 @@ struct device_type greybus_hd_type = {
}; };
struct gb_host_device *gb_hd_create(struct gb_hd_driver *driver, struct gb_host_device *gb_hd_create(struct gb_hd_driver *driver,
struct device *parent, struct device *parent,
size_t buffer_size_max, size_t buffer_size_max,
size_t num_cports) size_t num_cports)
{ {
struct gb_host_device *hd; struct gb_host_device *hd;
int ret; int ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment