From patchwork Fri Oct 18 18:50:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Mayer X-Patchwork-Id: 21170 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qe0-f69.google.com (mail-qe0-f69.google.com [209.85.128.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1AD66202FF for ; Fri, 18 Oct 2013 18:50:26 +0000 (UTC) Received: by mail-qe0-f69.google.com with SMTP id 6sf5414934qeb.0 for ; Fri, 18 Oct 2013 11:50:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe:content-type:content-transfer-encoding; bh=IWa6DVIsxLU5Sb8/8w///nzAx0djzG9Efplnpg6x7xI=; b=eaAeW7/xHd9cJayP69F0ADwcYhy/HBQ4W6kTvHLtI9C9poPE4Z0JhwFoJnJJ8RMBj2 roOjSbXfw9vtV/CH4qQipKFGlyeiHmLsDFTrk0eBwzBgIx4Ze58Rv1V+mGlRP9LlWbvo VKQValqQ4a93PmUh+l8mImGo3L561ijZJfCzsBbHXacwVenr/FlLaeSFL8SdM0Wel1x2 7CqAQiudYlA82ac4uSMNY1c3TunbWEH/4eRLw6Cq0Xy3h7iOI7SGNpqECPwZA5+7Dm4d M/qGlIS68snFJuImJmItEo6XqZ2cPi5R/74vSQzLc1GOkn6TzrTAN9fAvEDgYCVIHWAq MuHw== X-Received: by 10.236.167.138 with SMTP id i10mr4231182yhl.9.1382122226425; Fri, 18 Oct 2013 11:50:26 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.59.36 with SMTP id w4ls1374213qeq.67.gmail; Fri, 18 Oct 2013 11:50:26 -0700 (PDT) X-Received: by 10.52.165.131 with SMTP id yy3mr2050266vdb.25.1382122226302; Fri, 18 Oct 2013 11:50:26 -0700 (PDT) Received: from mail-vb0-f45.google.com (mail-vb0-f45.google.com [209.85.212.45]) by mx.google.com with ESMTPS id wp10si567941vdb.19.2013.10.18.11.50.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 18 Oct 2013 11:50:26 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.45 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.45; Received: by mail-vb0-f45.google.com with SMTP id e15so2062433vbg.18 for ; Fri, 18 Oct 2013 11:50:26 -0700 (PDT) X-Gm-Message-State: ALoCoQmYgdcWvl3jOGZQ7aj3HR+vh9R5NqpTLK9bPwqrZHZYM3/Wo/aKVsn/1WkZAfN+K4NLPUDx X-Received: by 10.52.119.228 with SMTP id kx4mr2647365vdb.12.1382122226171; Fri, 18 Oct 2013 11:50:26 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp56921vcz; Fri, 18 Oct 2013 11:50:25 -0700 (PDT) X-Received: by 10.224.69.132 with SMTP id z4mr6635523qai.78.1382122225662; Fri, 18 Oct 2013 11:50:25 -0700 (PDT) Received: from mms1.broadcom.com (mms1.broadcom.com. [216.31.210.17]) by mx.google.com with ESMTP id oi10si1188104qeb.133.2013.10.18.11.50.24 for ; Fri, 18 Oct 2013 11:50:25 -0700 (PDT) Received-SPF: neutral (google.com: 216.31.210.17 is neither permitted nor denied by best guess record for domain of markus.mayer@linaro.org) client-ip=216.31.210.17; Received: from [10.9.208.57] by mms1.broadcom.com with ESMTP (Broadcom SMTP Relay (Email Firewall v6.5)); Fri, 18 Oct 2013 11:50:15 -0700 X-Server-Uuid: 06151B78-6688-425E-9DE2-57CB27892261 Received: from IRVEXCHSMTP2.corp.ad.broadcom.com (10.9.207.52) by IRVEXCHCAS08.corp.ad.broadcom.com (10.9.208.57) with Microsoft SMTP Server (TLS) id 14.1.438.0; Fri, 18 Oct 2013 11:50:17 -0700 Received: from mail-irva-13.broadcom.com (10.10.10.20) by IRVEXCHSMTP2.corp.ad.broadcom.com (10.9.207.52) with Microsoft SMTP Server id 14.1.438.0; Fri, 18 Oct 2013 11:50:17 -0700 Received: from mail.broadcom.com (lbrmn-lnxub70.ric.broadcom.com [10.136.8.215]) by mail-irva-13.broadcom.com (Postfix) with ESMTP id 2CC40246A4; Fri, 18 Oct 2013 11:50:17 -0700 (PDT) From: "Markus Mayer" To: "Linus Walleij" cc: "Linaro Patches" , "Alexandre Courbot" , "Linux GPIO List" , "Markus Mayer" Subject: [PATCH] gpio: bcm281xx: Don't print addresses of GPIO area in probe() Date: Fri, 18 Oct 2013 11:50:03 -0700 Message-ID: <1382122203-16057-1-git-send-email-markus.mayer@linaro.org> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-WSS-ID: 7E7F5D6D4FK3075656-01-01 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: markus.mayer@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.45 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The physical address of the GPIO memory address is already printed implicitly by dev_info() as part of the device name. The virtual address doesn't add any value. In addition, printing a resource_size_t with %x lead to a compiler warning on some platforms. Signed-off-by: Markus Mayer --- This patch is dependent on: - http://patches.linaro.org/19933/ drivers/gpio/gpio-bcm-kona.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpio/gpio-bcm-kona.c b/drivers/gpio/gpio-bcm-kona.c index 58188ba..b3d0f81 100644 --- a/drivers/gpio/gpio-bcm-kona.c +++ b/drivers/gpio/gpio-bcm-kona.c @@ -587,8 +587,7 @@ static int bcm_kona_gpio_probe(struct platform_device *pdev) } } - dev_info(&pdev->dev, "Setting up Kona GPIO at 0x%p (phys %#x)\n", - kona_gpio->reg_base, res->start); + dev_info(&pdev->dev, "Setting up Kona GPIO\n"); bcm_kona_gpio_reset(kona_gpio);