From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx0b-001ae601.pphosted.com ([67.231.152.168]:52797 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751615AbbIBKZV (ORCPT ); Wed, 2 Sep 2015 06:25:21 -0400 Date: Wed, 2 Sep 2015 10:39:24 +0100 From: Charles Keepax To: Pratyush Anand CC: , , kbuild test robot , Alexandre Courbot , Andreas Werner , Barry Song , Baruch Siach , Johannes Thumshirn , "open list:ARM/STI ARCHITECTURE" , Krzysztof Kozlowski , Kukjin Kim , Lee Jones , Linus Walleij , "moderated list:ARM/U300 MACHINE SUPPORT" , "open list:INTEL MANAGEMENT ENGINE (mei)" , "moderated list:BROADCOM BCM2835 ARM ARCHITECTURE" , "moderated list:ARM/SAMSUNG EXYNOS ARM ARCHITECTURES" , "open list:TEGRA ARCHITECTURE SUPPORT" , Maxime Coquelin , "open list:WOLFSON MICROELECTRONICS DRIVERS" , Patrice Chotard , Srinivas Kandagatla , Stephen Warren , Support Opensource , Thierry Reding , Tomas Winkler , Wim Van Sebroeck Subject: Re: [PATCH V3] Watchdog: Fix parent of watchdog_devices Message-ID: <20150902093924.GA12688@ck-lbox> References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: Sender: linux-watchdog-owner@vger.kernel.org List-Id: linux-watchdog@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