From patchwork Sat Mar 26 07:00:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Ricard X-Patchwork-Id: 8674211 Return-Path: X-Original-To: patchwork-tpmdd-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D54959F44D for ; Sat, 26 Mar 2016 07:00:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0816B20259 for ; Sat, 26 Mar 2016 07:00:33 +0000 (UTC) Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E471F2025A for ; Sat, 26 Mar 2016 07:00:31 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=sfs-ml-4.v29.ch3.sourceforge.com) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1ajiCz-00010W-8r; Sat, 26 Mar 2016 07:00:29 +0000 Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1ajiCy-00010P-62 for tpmdd-devel@lists.sourceforge.net; Sat, 26 Mar 2016 07:00:28 +0000 Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of gmail.com designates 74.125.82.66 as permitted sender) client-ip=74.125.82.66; envelope-from=christophe.ricard@gmail.com; helo=mail-wm0-f66.google.com; Received: from mail-wm0-f66.google.com ([74.125.82.66]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1ajiCw-0006Fd-VE for tpmdd-devel@lists.sourceforge.net; Sat, 26 Mar 2016 07:00:28 +0000 Received: by mail-wm0-f66.google.com with SMTP id l68so8190390wml.3 for ; Sat, 26 Mar 2016 00:00: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:from:to:cc:subject:date:message-id:in-reply-to :references; bh=wg4FMRKA48Ak106YiwUZpcdYc73ty8j65JVSseFlFXM=; b=V2izMju4jaFdbJU9JWy8x+Fuvrr1U8D93skETpUGgVOUygiOULt0mA6bSsDbGvGTtd QV4tDDtwufCTuanDFCchY7m5YwDpTfs1em9SlY74nCx6w0o33OicQHm+KV4z+Fs9GjQ2 Zx1cV8OHYz7bhhbezV766iKX9H6ZRdqGC4SxH60tnYctu8jrzGF1mQcSWlTxot992f4K YqZq23FzOREIWnALM5j0jjrC9dXnZegEdAyUdwLG9Yj1OdlqJKC56/LIaP0gvWryC++c q+FosFdD02Te06nwU0jAZa4PF1LE00b9EOvDl0WoI4+uA5NRDkCKrSl83TViIDES7Lu/ i9+g== X-Gm-Message-State: AD7BkJIni5b/UyQLw/yfk2Wmi6Jbx56J8+oIXY7UX50JsWc4wcjy8GNIktH/uOMwo/X3jA== X-Received: by 10.28.54.156 with SMTP id y28mr482706wmh.63.1458975620984; Sat, 26 Mar 2016 00:00:20 -0700 (PDT) Received: from localhost.localdomain (ax113-6-78-236-204-66.fbx.proxad.net. [78.236.204.66]) by smtp.gmail.com with ESMTPSA id lz5sm14978102wjb.5.2016.03.26.00.00.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 26 Mar 2016 00:00:19 -0700 (PDT) From: Christophe Ricard X-Google-Original-From: Christophe Ricard To: jarkko.sakkinen@linux.intel.com Date: Sat, 26 Mar 2016 08:00:09 +0100 Message-Id: <1458975615-8095-2-git-send-email-christophe-h.ricard@st.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1458975615-8095-1-git-send-email-christophe-h.ricard@st.com> References: <1458975615-8095-1-git-send-email-christophe-h.ricard@st.com> X-Spam-Score: -1.6 (-) X-Headers-End: 1ajiCw-0006Fd-VE Cc: jean-luc.blanc@st.com, ashley@ashleylai.com, tpmdd-devel@lists.sourceforge.net, christophe-h.ricard@st.com, benoit.houyere@st.com Subject: [tpmdd-devel] [PATCH v2 1/7] tpm/tpm_atmel: drop remaining 'iobase' usage X-BeenThere: tpmdd-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: Tpm Device Driver maintainance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: tpmdd-devel-bounces@lists.sourceforge.net X-Spam-Status: No, score=-7.9 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,HK_RANDOM_ENVFROM,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Remove some sporadic iobase Signed-off-by: Christophe Ricard --- drivers/char/tpm/tpm_atmel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/char/tpm/tpm_atmel.h b/drivers/char/tpm/tpm_atmel.h index c5618ea..7e37c16 100644 --- a/drivers/char/tpm/tpm_atmel.h +++ b/drivers/char/tpm/tpm_atmel.h @@ -38,8 +38,8 @@ static inline struct tpm_atmel_priv *atmel_get_priv(struct tpm_chip *chip) #include -#define atmel_getb(chip, offset) readb(chip->vendor->iobase + offset); -#define atmel_putb(val, chip, offset) writeb(val, chip->vendor->iobase + offset) +#define atmel_getb(priv, offset) readb(priv->iobase + offset); +#define atmel_putb(val, priv, offset) writeb(val, priv->iobase + offset) #define atmel_request_region request_mem_region #define atmel_release_region release_mem_region