From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx07-00178001.pphosted.com ([62.209.51.94]:46940 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752171AbbHSK4P (ORCPT ); Wed, 19 Aug 2015 06:56:15 -0400 Message-ID: <55D46089.8030801@st.com> Date: Wed, 19 Aug 2015 12:55:05 +0200 From: Maxime Coquelin MIME-Version: 1.0 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 , ; 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 References: In-Reply-To: Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-watchdog-owner@vger.kernel.org List-Id: linux-watchdog@vger.kernel.org Hi Pratyush, On 08/19/2015 05:28 AM, Pratyush Anand wrote: > diff --git a/drivers/watchdog/st_lpc_wdt.c b/drivers/watchdog/st_lpc_wdt.c > index 6785afdc0fca..14e9badf2bfa 100644 > --- a/drivers/watchdog/st_lpc_wdt.c > +++ b/drivers/watchdog/st_lpc_wdt.c > @@ -241,6 +241,7 @@ static int st_wdog_probe(struct platform_device *pdev) > return -EINVAL; > } > st_wdog_dev.max_timeout = 0xFFFFFFFF / st_wdog->clkrate; > + st_wdog_dev.parent = &pdev->dev; > > ret = clk_prepare_enable(clk); > if (ret) { Acked-by: Maxime Coquelin Thanks! Maxime