Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756830AbbHZLiX (ORCPT ); Wed, 26 Aug 2015 07:38:23 -0400 Received: from mail-ob0-f170.google.com ([209.85.214.170]:33115 "EHLO mail-ob0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756584AbbHZLiU (ORCPT ); Wed, 26 Aug 2015 07:38:20 -0400 MIME-Version: 1.0 In-Reply-To: <9fcc2a2cc8273f461baa13c6c9992f3ca56b508a.1439915117.git.panand@redhat.com> References: <9fcc2a2cc8273f461baa13c6c9992f3ca56b508a.1439915117.git.panand@redhat.com> Date: Wed, 26 Aug 2015 13:38:19 +0200 Message-ID: Subject: Re: [PATCH V2] Watchdog: Fix parent of watchdog_devices From: Linus Walleij To: Pratyush Anand Cc: Guenter Roeck , linux-watchdog@vger.kernel.org, Alexandre Courbot , Andreas Werner , Barry Song , Baruch Siach , Johannes Thumshirn , "open list:ARM/STI ARCHITECTURE" , Krzysztof Kozlowski , Kukjin Kim , Lee Jones , "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 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 957 Lines: 23 On Tue, Aug 18, 2015 at 6:34 PM, 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 Acked-by: Linus Walleij Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/