diff options
author | Michael Poole <mdpoole@troilus.org> | 2010-02-11 00:32:57 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-02-11 11:22:35 +0100 |
commit | 71b38bd4c1cc4f2b653064357e4efab77dfd711d (patch) | |
tree | 32baee79b6f35fc6c0b0d3f2cfc9e09738781c88 /drivers/hid/hid-sony.c | |
parent | 9f5231472340ebcaf2dec75428b67d5d0d872857 (diff) | |
download | kernel_samsung_smdk4412-71b38bd4c1cc4f2b653064357e4efab77dfd711d.zip kernel_samsung_smdk4412-71b38bd4c1cc4f2b653064357e4efab77dfd711d.tar.gz kernel_samsung_smdk4412-71b38bd4c1cc4f2b653064357e4efab77dfd711d.tar.bz2 |
HID: magicmouse: coding style and probe failure fixes
Use proper values to initialize bool configuration variables, tabs rather than
spaces, no braces for one-line else clause, __set_bit() when the operation
doesn't have to be atomic, input_set_abs_params() rather than writing the
fields directly, and call hid_hw_stop() when appropriate to handle failures in
the probe.
Signed-off-by: Michael Poole <mdpoole@troilus.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-sony.c')
0 files changed, 0 insertions, 0 deletions