[PATCH 3.18 31/83] Input: xpad - move the input device creation to a new function