diff options
author | Geert Uytterhoeven | 2018-04-10 15:21:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2018-04-26 10:32:51 +0200 |
commit | 5f53624662eaac89598641cee6cd54fc192572d9 (patch) | |
tree | beca7380add1710de16b2dc7564ca0f99cded80a /net/qrtr | |
parent | Revert "ARM: amba: Fix race condition with driver_override" (diff) | |
download | kernel-qcow2-linux-5f53624662eaac89598641cee6cd54fc192572d9.tar.gz kernel-qcow2-linux-5f53624662eaac89598641cee6cd54fc192572d9.tar.xz kernel-qcow2-linux-5f53624662eaac89598641cee6cd54fc192572d9.zip |
ARM: amba: Make driver_override output consistent with other buses
For AMBA devices with unconfigured driver override, the
"driver_override" sysfs virtual file is empty, while it contains
"(null)" for platform and PCI devices.
Make AMBA consistent with other buses by dropping the test for a NULL
pointer.
Note that contrary to popular belief, sprintf() handles NULL pointers
fine; they are printed as "(null)".
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: stable <stable@vger.kernel.org>
Reviewed-by: Todd Kjos <tkjos@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/qrtr')
0 files changed, 0 insertions, 0 deletions