]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: mpcore_wdt: Rename dev to pdev for pointing to struct platform_device
authorViresh Kumar <viresh.kumar@st.com>
Mon, 12 Mar 2012 04:21:58 +0000 (09:51 +0530)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 27 Mar 2012 18:14:11 +0000 (20:14 +0200)
commitda46157859faf754e8b1262b5af1d09eed58ede1
tree73f4752a5ef564beed945b4a55d24f7557dd228a
parent3f1d8255092abba040335ca48ed5c4a6d9810fde
watchdog: mpcore_wdt: Rename dev to pdev for pointing to struct platform_device

Pointer to struct platform_device is named as dev, which makes it confusing when
we write statements like dev->dev to access struct device within it.

This patch renames such names to pdev.

Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/mpcore_wdt.c