forked from luck/tmp_suning_uos_patched
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->prop.clk_stop_timeout = 300;
|
||||||
|
|
||||||
slave->bus->clk_stop_timeout = max_t(u32, slave->bus->clk_stop_timeout,
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -148,7 +148,7 @@ int __sdw_register_driver(struct sdw_driver *drv, struct module *owner)
|
||||||
|
|
||||||
if (!drv->probe) {
|
if (!drv->probe) {
|
||||||
pr_err("driver %s didn't provide SDW probe routine\n",
|
pr_err("driver %s didn't provide SDW probe routine\n",
|
||||||
drv->name);
|
drv->name);
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user