mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 06:31:52 +00:00
soundwire: bus_type: fix alignment issues
Use Linux style Reviewed-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
816d9bf478
commit
74a8d8022f
@ -107,7 +107,7 @@ static int sdw_drv_probe(struct device *dev)
|
||||
slave->prop.clk_stop_timeout = 300;
|
||||
|
||||
slave->bus->clk_stop_timeout = max_t(u32, slave->bus->clk_stop_timeout,
|
||||
slave->prop.clk_stop_timeout);
|
||||
slave->prop.clk_stop_timeout);
|
||||
|
||||
return 0;
|
||||
}
|
||||
@ -148,7 +148,7 @@ int __sdw_register_driver(struct sdw_driver *drv, struct module *owner)
|
||||
|
||||
if (!drv->probe) {
|
||||
pr_err("driver %s didn't provide SDW probe routine\n",
|
||||
drv->name);
|
||||
drv->name);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user