commit | bcb898e5873430d8121eb8df07d5fbfb49134167 | [log] [tgz] |
---|---|---|
author | David Herrmann <dh.herrmann@gmail.com> | Sun Jul 20 17:16:23 2014 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Mon Jul 21 14:28:21 2014 -0700 |
tree | a7679d6f4948919ea3bb530a24e10f5a09080f55 | |
parent | 3974037039e925a9645e70e1dc91735d28faad95 [diff] |
Input: uinput - uinput_validate_absbits() cleanup This moves basic checks and setup from uinput_setup_device() into uinput_validate_absbits() to make it easier to use. This way, we can call it from other places without copying the boilerplate code. Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>