From patchwork Fri Dec 18 14:17:51 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 58713 Delivered-To: patch@linaro.org Received: by 10.112.89.199 with SMTP id bq7csp1063301lbb; Fri, 18 Dec 2015 06:31:51 -0800 (PST) X-Received: by 10.66.240.4 with SMTP id vw4mr5613795pac.9.1450449111270; Fri, 18 Dec 2015 06:31:51 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y21si12254638pfi.136.2015.12.18.06.31.50; Fri, 18 Dec 2015 06:31:51 -0800 (PST) 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; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754051AbbLRObp (ORCPT + 29 others); Fri, 18 Dec 2015 09:31:45 -0500 Received: from mail-wm0-f46.google.com ([74.125.82.46]:34106 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933112AbbLROTT (ORCPT ); Fri, 18 Dec 2015 09:19:19 -0500 Received: by mail-wm0-f46.google.com with SMTP id l126so67512593wml.1 for ; Fri, 18 Dec 2015 06:19:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=78OhghhZvVidOC+n3h12seUSI8hCJJWTWBGLs+cgkY4=; b=KnG86fPNP95u3syYM1ExbuaU7bb7MIixpR9jm4Q6+e5QgMDhrqgaP8OM++VShs38fO vWV9maNLJXpCN8FEE4FV0cDQrr9JN47caXSVT0euvHWZPj091lIqzD5b0Zi/Pm6/hkOG p2jJ+Uc0OqjiivpcV3RTxik/3gLqq782Qgw7Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=78OhghhZvVidOC+n3h12seUSI8hCJJWTWBGLs+cgkY4=; b=k6sMrbMw+9YOT7/g6Pcf47OuXLO13segBUvdtfdO0vvULgcGxKS4IX13zyj/8cxztB NPWxTxqi3jFzX7OXNv08nkEbkuxjOT3Vp1YgtjhbZ9bbDz931xC1lOX5NezhuVJYkf9y ylnZGff+AM92JOSD0ELBSOmMK/au92G/FZoO/HlT5H3zlVYzMqjoPorEM/uhsYSXei0X M6j4ANBNdHYN1JI6KbOmioCW/O+c9x7ZGFuflnbMd4a+jru2C/eZFnhfrgi5G8QaL8iW BaV885R20Z4cgDA8p11U/AKxJdsj+3B4jfW6PlFIdHw+hsWth7yZBs//AjnOzdiVYKaC kLLQ== X-Gm-Message-State: ALoCoQm3zcXx54kOKHxvCHCvGYSEsCMQUSGfL/SIUW5AiWITfDW+zD7q/n4wGNkMfjYulakCjGJbG65NMWX1/xl2/v3Ta+wLpw== X-Received: by 10.28.182.11 with SMTP id g11mr3697308wmf.42.1450448358020; Fri, 18 Dec 2015 06:19:18 -0800 (PST) Received: from localhost.localdomain ([78.210.255.2]) by smtp.gmail.com with ESMTPSA id ql10sm15010027wjc.23.2015.12.18.06.19.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 18 Dec 2015 06:19:17 -0800 (PST) From: Daniel Lezcano To: tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, mingo@kernel.org, Yoshinori Sato , uclinux-h8-devel@lists.sourceforge.jp (moderated list:H8/300 ARCHITECTURE) Subject: [PATCH 38/69] clocksource/drivers/h8300_timer8: Fix compilation error with dev_warn Date: Fri, 18 Dec 2015 15:17:51 +0100 Message-Id: <1450448302-27429-38-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1450448302-27429-1-git-send-email-daniel.lezcano@linaro.org> References: <5672CB9E.7090707@linaro.org> <1450448302-27429-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The dev_warn is using the platform driver which was removed in the previous patch. Let's replace dev_warn by pr_warn. Signed-off-by: Daniel Lezcano --- drivers/clocksource/h8300_timer8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.9.1 -- 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/ diff --git a/drivers/clocksource/h8300_timer8.c b/drivers/clocksource/h8300_timer8.c index f0680eb..35b0e8f 100644 --- a/drivers/clocksource/h8300_timer8.c +++ b/drivers/clocksource/h8300_timer8.c @@ -98,7 +98,7 @@ static void timer8_set_next(struct timer8_priv *p, unsigned long delta) raw_spin_lock_irqsave(&p->lock, flags); if (delta >= 0x10000) - dev_warn(&p->pdev->dev, "delta out of range\n"); + pr_warn("delta out of range\n"); now = timer8_get_counter(p); p->tcora = delta; ctrl_outb(ctrl_inb(p->mapbase + _8TCR) | 0x40, p->mapbase + _8TCR);