soundwire: bus_type: fix alignment issues
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Wed, 1 May 2019 15:57:32 +0000 (10:57 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 May 2019 15:16:27 +0000 (17:16 +0200)
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>
drivers/soundwire/bus_type.c

index 283b2832728ee01e9047ffcc6756686f2bb8763c..2655602f0cfb7492ac53345152ff78e9704a3e24 100644 (file)
@@ -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;
        }