Loading drivers/input/input.c +1 −7 Original line number Diff line number Diff line Loading @@ -1024,15 +1024,9 @@ EXPORT_SYMBOL(input_allocate_device); */ void input_free_device(struct input_dev *dev) { if (dev) { mutex_lock(&dev->mutex); dev->name = dev->phys = dev->uniq = NULL; mutex_unlock(&dev->mutex); if (dev) input_put_device(dev); } } EXPORT_SYMBOL(input_free_device); int input_register_device(struct input_dev *dev) Loading Loading
drivers/input/input.c +1 −7 Original line number Diff line number Diff line Loading @@ -1024,15 +1024,9 @@ EXPORT_SYMBOL(input_allocate_device); */ void input_free_device(struct input_dev *dev) { if (dev) { mutex_lock(&dev->mutex); dev->name = dev->phys = dev->uniq = NULL; mutex_unlock(&dev->mutex); if (dev) input_put_device(dev); } } EXPORT_SYMBOL(input_free_device); int input_register_device(struct input_dev *dev) Loading