From patchwork Sat Mar 28 21:09:36 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaro Koskinen X-Patchwork-Id: 455706 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-wg0-x23a.google.com (mail-wg0-x23a.google.com [IPv6:2a00:1450:400c:c00::23a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id B0ED914010F for ; Sun, 29 Mar 2015 08:10:18 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass reason="2048-bit key; unprotected key" header.d=googlegroups.com header.i=@googlegroups.com header.b=Va9GWJe4; dkim-adsp=none (unprotected policy); dkim-atps=neutral Received: by wggx12 with SMTP id x12sf4497610wgg.1 for ; Sat, 28 Mar 2015 14:10:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :reply-to:content-type:precedence:mailing-list:list-id:list-post :list-help:list-archive:sender:list-subscribe:list-unsubscribe; bh=RQP9fUYf7XgSjepyGnt7gG23qFKAqRA1hX7m4Gdu0iA=; b=Va9GWJe4ums1GTpsJdmh8/G6hrTBx8IaLVJ000u0kpLe8BDNzhJsgv071FTf8iuA8v 6gRzAp8HAA/Hhor2MDWr/RwicdatFZUEgYCALdhd02bAcqdat+IsXgmAf5mlHmhOUTjM zYiEYIEiIR3iqIVOqpK/95FXE3p8nBra6iN4foftniMDCyoO5ekvglVeLRZ/yU0lErMz FO1/DFwMBLR1FXscv++paMxgJXD9qvSGxGTA9oo75z34W4GSKkYmbK0p417DzaIksy7x 0Zslf1kkuMP0E8CMjcXYMXuQyoDw/+w+mtmXj60heLAEDP5I0kzowjPabdUjgamFFRYm rpNg== X-Received: by 10.180.20.76 with SMTP id l12mr32252wie.2.1427577015488; Sat, 28 Mar 2015 14:10:15 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.180.97.102 with SMTP id dz6ls384151wib.41.canary; Sat, 28 Mar 2015 14:10:15 -0700 (PDT) X-Received: by 10.194.161.194 with SMTP id xu2mr6165304wjb.1.1427577015221; Sat, 28 Mar 2015 14:10:15 -0700 (PDT) Received: from filtteri6.pp.htv.fi (filtteri6.pp.htv.fi. [213.243.153.189]) by gmr-mx.google.com with ESMTP id b6si364674lbc.1.2015.03.28.14.10.15 for ; Sat, 28 Mar 2015 14:10:15 -0700 (PDT) Received-SPF: neutral (google.com: 213.243.153.189 is neither permitted nor denied by domain of aaro.koskinen@iki.fi) client-ip=213.243.153.189; Received: from localhost (localhost [127.0.0.1]) by filtteri6.pp.htv.fi (Postfix) with ESMTP id 160B256F854; Sat, 28 Mar 2015 23:10:15 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at pp.htv.fi Received: from smtp4.welho.com ([213.243.153.38]) by localhost (filtteri6.pp.htv.fi [213.243.153.189]) (amavisd-new, port 10024) with ESMTP id bCjBlFlwGi5e; Sat, 28 Mar 2015 23:10:10 +0200 (EET) Received: from amd-fx-6350.bb.dnainternet.fi (91-145-91-118.bb.dnainternet.fi [91.145.91.118]) by smtp4.welho.com (Postfix) with ESMTP id 930665BC019; Sat, 28 Mar 2015 23:10:08 +0200 (EET) From: Aaro Koskinen To: Alessandro Zummo , Alexandre Belloni , rtc-linux@googlegroups.com Cc: linux-kernel@vger.kernel.org, Aaro Koskinen Subject: [rtc-linux] [PATCH 3/3] rtc: hctosys: use function name in the error log Date: Sat, 28 Mar 2015 23:09:36 +0200 Message-Id: <1427576976-22353-3-git-send-email-aaro.koskinen@iki.fi> X-Mailer: git-send-email 2.2.0 In-Reply-To: <1427576976-22353-1-git-send-email-aaro.koskinen@iki.fi> References: <1427576976-22353-1-git-send-email-aaro.koskinen@iki.fi> X-Original-Sender: aaro.koskinen@iki.fi X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 213.243.153.189 is neither permitted nor denied by domain of aaro.koskinen@iki.fi) smtp.mail=aaro.koskinen@iki.fi Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Use function name in the error log instead of __FILE__. Signed-off-by: Aaro Koskinen Acked-by: Alexandre Belloni --- drivers/rtc/hctosys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/hctosys.c b/drivers/rtc/hctosys.c index 6c719f2..7748a61 100644 --- a/drivers/rtc/hctosys.c +++ b/drivers/rtc/hctosys.c @@ -33,7 +33,7 @@ static int __init rtc_hctosys(void) if (rtc == NULL) { pr_err("%s: unable to open rtc device (%s)\n", - __FILE__, CONFIG_RTC_HCTOSYS_DEVICE); + __func__, CONFIG_RTC_HCTOSYS_DEVICE); goto err_open; }