Arnd Bergmann b6dfb2477f compat_ioctl: move WDIOC handling into wdt drivers
All watchdog drivers implement the same set of ioctl commands, and
fortunately all of them are compatible between 32-bit and 64-bit
architectures.

Modern drivers always go through drivers/watchdog/wdt.c as an abstraction
layer, but older ones implement their own file_operations on a character
device for this.

Move the handling from fs/compat_ioctl.c into the individual drivers.

Note that most of the legacy drivers will never be used on 64-bit
hardware, because they are for an old 32-bit SoC implementation, but
doing them all at once is safer than trying to guess which ones do
or do not need the compat_ioctl handling.

Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2019-10-23 17:23:46 +02:00
..
2019-09-22 11:05:43 -07:00
2019-05-09 14:46:33 -07:00
2019-07-17 10:03:50 -07:00
2019-07-17 10:03:50 -07:00
2019-04-16 18:06:54 +02:00
2019-04-04 10:06:54 +02:00
2019-05-16 09:19:14 -07:00
2019-04-04 10:07:10 +02:00
2017-09-05 09:55:02 +02:00
2019-07-17 10:03:50 -07:00
2019-07-17 10:03:50 -07:00
2019-05-09 14:46:33 -07:00
2019-07-17 10:03:50 -07:00
2019-09-22 11:05:43 -07:00
2019-05-23 17:44:52 +02:00
2019-04-29 15:53:43 +02:00
2019-05-08 22:14:36 +02:00