From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754111AbbIBKC7 (ORCPT ); Wed, 2 Sep 2015 06:02:59 -0400 Received: from mx0b-001ae601.pphosted.com ([67.231.152.168]:52201 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752856AbbIBKC4 (ORCPT ); Wed, 2 Sep 2015 06:02:56 -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: User-Agent: Mutt/1.5.20 (2009-06-14) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151,1.0.33,0.0.0000 definitions=2015-09-02_03:2015-09-02,2015-09-02,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1508030000 definitions=main-1509020170 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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