From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Keepax Subject: Re: [PATCH V3] Watchdog: Fix parent of watchdog_devices Date: Wed, 2 Sep 2015 10:39:24 +0100 Message-ID: <20150902093924.GA12688@ck-lbox> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Pratyush Anand Cc: Krzysztof Kozlowski , "open list:WOLFSON MICROELECTRONICS DRIVERS" , "open list:ARM/STI ARCHITECTURE" , Linus Walleij , Baruch Siach , "open list:INTEL MANAGEMENT ENGINE (mei)" , Wim Van Sebroeck , Thierry Reding , Alexandre Courbot , "moderated list:ARM/SAMSUNG EXYNOS ARM ARCHITECTURES" , Lee Jones , Kukjin Kim , Tomas Winkler , linux@roeck-us.net, linux-watchdog@vger.kernel.org, Stephen Warren , "moderated list:BROADCOM BCM2835 ARM ARCHITECTURE" , "open list:TEGRA ARCHITECTURE SUPPORT" List-Id: linux-tegra@vger.kernel.org On Wed, Aug 19, 2015 at 08:58:24AM +0530, Pratyush Anand wrote: > /sys/class/watchdog/watchdogn/device/modalias can help to identify the > driver/module for a given watchdog node. However, many wdt devices does not set > its parent and so, we do not see an entry for device in sysfs for such devices. > > This patch fixes parent of watchdog_device so that > /sys/class/watchdog/watchdogn/device is populated. > > Exceptions: booke, diag288, mpc8xxx, octeon, softdog and w83627hf -- They do not > have any parent. Not sure, how we can we identify driver for these devices. > > Signed-off-by: Pratyush Anand > --- For the Wolfson parts: Acked-by: Charles Keepax Thanks, Charles