summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2018-04-10 15:21:46 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-14 16:25:52 +0200
commit6be5b5b9c5e0104b009cf6996e4df21877576b91 (patch)
tree68320945854b21aa663de469c1e7e8cd0c35ccff
parent1770a80f7d22a8c191af8d87eef922814369c34b (diff)
downloadlinux-stable-6be5b5b9c5e0104b009cf6996e4df21877576b91.tar.gz
linux-stable-6be5b5b9c5e0104b009cf6996e4df21877576b91.tar.bz2
linux-stable-6be5b5b9c5e0104b009cf6996e4df21877576b91.zip
ARM: amba: Fix wrong indentation in driver_override_store()
Indentation is one TAB and 7 spaces instead of 2 TABs. Fixes: 3cf385713460eb2b ("ARM: 8256/1: driver coamba: add device binding path 'driver_override'") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Todd Kjos <tkjos@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/amba/bus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/amba/bus.c b/drivers/amba/bus.c
index 4a3ac31c07d0..842314a439fd 100644
--- a/drivers/amba/bus.c
+++ b/drivers/amba/bus.c
@@ -101,8 +101,8 @@ static ssize_t driver_override_store(struct device *_dev,
if (strlen(driver_override)) {
dev->driver_override = driver_override;
} else {
- kfree(driver_override);
- dev->driver_override = NULL;
+ kfree(driver_override);
+ dev->driver_override = NULL;
}
device_unlock(_dev);