提交 74a8d802 编写于 作者: P Pierre-Louis Bossart 提交者: Greg Kroah-Hartman

soundwire: bus_type: fix alignment issues

Use Linux style
Reviewed-by: NTakashi Iwai <tiwai@suse.de>
Signed-off-by: NPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 816d9bf4
...@@ -107,7 +107,7 @@ static int sdw_drv_probe(struct device *dev) ...@@ -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) ...@@ -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;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册