Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3040356yba; Tue, 16 Apr 2019 03:27:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqxrwpqHu2zvS4a8SsfGEpsy0GP/ZCoCbwl6NFeLV05Tw9gFLzSTdiP0tmu9Gm0gFTLbZkLP X-Received: by 2002:a17:902:e7:: with SMTP id a94mr81355168pla.114.1555410473780; Tue, 16 Apr 2019 03:27:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555410473; cv=none; d=google.com; s=arc-20160816; b=uoSOieQVRjYxlh85l7CkpJ+1iToRtHDRvOxSjV2iC8g4I3n3k7R7uDLgQzs8xTkd5t pmjcH8L4OqDegSma+XJt6SQfGOvq1UQlGWd0IeHE5eHc6mYqf9k5AQxSiUm4DC6QahpV 9avwCuyO+/tFKsqNrTVVixVlYRSyCTclz6hv1UMPiRXsFat731NP+PhBSTSaIOG19alW nGs3DzJERps++prpz93mRa4mhi4FfkwUDKZl5cuKo2wgsNsBud4T0I259OmJb1Bozbvb DW8NBn15v+x1QtdBWJPb8x/khrBKaCn9C1j4hoWM1hzzJwz8fFP8DIpv1RsD7ynyqLSR F6PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=g9JzSpR1tVeg+gv01aFG1BuH5CfBgfAchf/a9KY7I2M=; b=aDNr7DN4DZUzikQU3XXGd2PqJXeBy0LeS6RWXuaTgk8Z8EBP7IhHX2NGyEK3HbgO/X 3JvjtDjCHVFuMophaYiMYzWNjsT3uIQZS5L3RAXZDp31W/GIQHqXL0JZFOOiqfxPsUTX zlKpDBVswkre50W+OcdzEVrqOPbRXHC+CltovQ7MHuwaW8FZvup6ZKaiWj8SCnTlaLN7 ZXTnJfShtNuYCO4R96Js7cnkw93SirMLyawNrct6cOQdUbqoerEG9rHbPNWR9iybFQAT nEY3YQWKkyT9epFbh9dT4zId/BuIaNhoawz9F+RKmSlMLHO+CfDYwvTCbZIq2vZTIQ4D 5ulg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q22si41133442pll.365.2019.04.16.03.27.38; Tue, 16 Apr 2019 03:27:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729315AbfDPK0l (ORCPT + 99 others); Tue, 16 Apr 2019 06:26:41 -0400 Received: from sauhun.de ([88.99.104.3]:48684 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726686AbfDPKZ1 (ORCPT ); Tue, 16 Apr 2019 06:25:27 -0400 Received: from localhost (p54B332D3.dip0.t-ipconnect.de [84.179.50.211]) by pokefinder.org (Postfix) with ESMTPSA id D5FBC2E3589; Tue, 16 Apr 2019 12:25:25 +0200 (CEST) From: Wolfram Sang To: linux-watchdog@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, Guenter Roeck , Wolfram Sang , William Breathitt Gray , Wim Van Sebroeck , linux-kernel@vger.kernel.org Subject: [PATCH v2 05/16] watchdog: ebc-c384_wdt: drop warning after calling watchdog_init_timeout Date: Tue, 16 Apr 2019 12:25:04 +0200 Message-Id: <20190416102515.12269-6-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190416102515.12269-1-wsa+renesas@sang-engineering.com> References: <20190416102515.12269-1-wsa+renesas@sang-engineering.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The core will print out details now. Reviewed-by: Guenter Roeck Signed-off-by: Wolfram Sang --- drivers/watchdog/ebc-c384_wdt.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/watchdog/ebc-c384_wdt.c b/drivers/watchdog/ebc-c384_wdt.c index 4c4c8ce78021..c176f59fea28 100644 --- a/drivers/watchdog/ebc-c384_wdt.c +++ b/drivers/watchdog/ebc-c384_wdt.c @@ -117,10 +117,7 @@ static int ebc_c384_wdt_probe(struct device *dev, unsigned int id) wdd->max_timeout = WATCHDOG_MAX_TIMEOUT; watchdog_set_nowayout(wdd, nowayout); - - if (watchdog_init_timeout(wdd, timeout, dev)) - dev_warn(dev, "Invalid timeout (%u seconds), using default (%u seconds)\n", - timeout, WATCHDOG_TIMEOUT); + watchdog_init_timeout(wdd, timeout, dev); return devm_watchdog_register_device(dev, wdd); } -- 2.11.0