commit | 71b38bd4c1cc4f2b653064357e4efab77dfd711d | [log] [tgz] |
---|---|---|
author | Michael Poole <mdpoole@troilus.org> | Thu Feb 11 00:32:57 2010 -0500 |
committer | Jiri Kosina <jkosina@suse.cz> | Thu Feb 11 11:22:35 2010 +0100 |
tree | 32baee79b6f35fc6c0b0d3f2cfc9e09738781c88 | |
parent | 9f5231472340ebcaf2dec75428b67d5d0d872857 [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>