009-8-watchdog-kill-unref-ref-ops.patch 986 B

1234567891011121314151617181920212223242526
  1. From 62cd1c40ce1c7c16835b599751c7a002eb5bbdf5 Mon Sep 17 00:00:00 2001
  2. From: Tomas Winkler <tomas.winkler@intel.com>
  3. Date: Sun, 3 Jan 2016 13:32:37 +0200
  4. Subject: watchdog: kill unref/ref ops
  5. ref/unref ops are not called at all so even marked them as deprecated
  6. is misleading, we need to just drop the API.
  7. Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
  8. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
  9. Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
  10. ---
  11. include/linux/watchdog.h | 2 --
  12. 1 file changed, 2 deletions(-)
  13. --- a/include/linux/watchdog.h
  14. +++ b/include/linux/watchdog.h
  15. @@ -47,8 +47,6 @@ struct watchdog_ops {
  16. int (*set_timeout)(struct watchdog_device *, unsigned int);
  17. unsigned int (*get_timeleft)(struct watchdog_device *);
  18. int (*restart)(struct watchdog_device *);
  19. - void (*ref)(struct watchdog_device *) __deprecated;
  20. - void (*unref)(struct watchdog_device *) __deprecated;
  21. long (*ioctl)(struct watchdog_device *, unsigned int, unsigned long);
  22. };