diff options
author | Joe Perches <joe@perches.com> | 2017-03-02 02:35:07 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2017-03-06 14:40:34 +0100 |
commit | 52150c78270db56ef5c0de0bf9d13d1d437d1236 (patch) | |
tree | a37cd751e12c3df714567c6ade5a7fc51b34d910 /drivers/hid/hid-debug.c | |
parent | HID: usbhid: extend polling interval configuration to joysticks (diff) | |
download | linux-52150c78270db56ef5c0de0bf9d13d1d437d1236.tar.xz linux-52150c78270db56ef5c0de0bf9d13d1d437d1236.zip |
HID: usbhid: Use pr_<level> and remove unnecessary OOM messages
Use a more common logging style and remove the unnecessary
OOM messages as there is default dump_stack when OOM.
Miscellanea:
o Hoist an assignment in an if
o Realign arguments
o Realign a deeply indented if descendent above a printk
Signed-off-by: Joe Perches <joe@perches.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-debug.c')
0 files changed, 0 insertions, 0 deletions