watchdog: iTCO_wdt: Use pdev for platform device and pci_dev for pci device
authorGuenter Roeck <linux@roeck-us.net>
Mon, 2 Jan 2017 17:27:36 +0000 (09:27 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 24 Feb 2017 22:00:23 +0000 (14:00 -0800)
commit78e45696d55c0754384f81e628b57b4e865a2478
treed650ed70c34e251692e4c387b3fcae42e8c651af
parentc7bbcc87ac98c340cb6e68c70ea4b600734a04d2
watchdog: iTCO_wdt: Use pdev for platform device and pci_dev for pci device

Use pdev for struct platform_device, pci_dev for struct pci_dev, and dev
for struct device variables to improve consistency.

Remove 'struct platform_device *dev;' from struct iTCO_wdt_private since
it was unused.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/watchdog/iTCO_wdt.c