From: David Herrmann Date: Mon, 21 Jul 2014 00:16:23 +0000 (-0700) Subject: Input: uinput - uinput_validate_absbits() cleanup X-Git-Tag: omap-for-v3.17/fixes-against-rc2~115^2~1^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcb898e5873430d8121eb8df07d5fbfb49134167;p=pandora-kernel.git 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 Signed-off-by: David Herrmann Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed