]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Input: ad7879 - make sure we set up drvdata
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 28 Feb 2017 21:57:21 +0000 (13:57 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 1 Mar 2017 17:42:43 +0000 (09:42 -0800)
commitaf160c542e40c133b12b18d9dddd4fc555611ef1
tree81f647badef896d23588eea196f903a58df4a7a3
parent6afb6b6ed866c743629b4dd9ac381e418222cc98
Input: ad7879 - make sure we set up drvdata

The conversion to devm accidentally removed setting up of I2C client data
upon successful probe of the touchscreen. Let's move this setting into the
core, so we do not forger about it again.

Fixes: 381f688eee3d ("Input: ad7879 - use more devm interfaces")
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/ad7879-spi.c
drivers/input/touchscreen/ad7879.c