Skip to content
/ linux Public
forked from torvalds/linux

Commit

Permalink
ARM: amba: Fix wrong indentation in driver_override_store()
Browse files Browse the repository at this point in the history
Indentation is one TAB and 7 spaces instead of 2 TABs.

Fixes: 3cf3857 ("ARM: 8256/1: driver coamba: add device binding path 'driver_override'")
Signed-off-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Todd Kjos <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
geertu authored and gregkh committed May 14, 2018
1 parent 1770a80 commit 6be5b5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/amba/bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 6be5b5b

Please sign in to comment.