/* The function frees memory allocated for polling device and drops reference to the associated input device.  */
void input_free_polled_device(struct input_polled_dev *dev)
/* The function frees memory allocated for polling device and drops reference to the associated input device.  */
void input_free_polled_device(struct input_polled_dev *dev)
{
	if (dev) {
		input_free_device(dev->input);
		kfree(dev);
	}
}