aboutsummaryrefslogtreecommitdiff
path: root/drivers/hid/hid-lg.c
diff options
context:
space:
mode:
authorMichael Poole <mdpoole@troilus.org>2010-02-11 00:32:57 -0500
committerJiri Kosina <jkosina@suse.cz>2010-02-11 11:22:35 +0100
commit71b38bd4c1cc4f2b653064357e4efab77dfd711d (patch)
tree32baee79b6f35fc6c0b0d3f2cfc9e09738781c88 /drivers/hid/hid-lg.c
parent9f5231472340ebcaf2dec75428b67d5d0d872857 (diff)
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-lg.c')
0 files changed, 0 insertions, 0 deletions