From patchwork Mon Nov 26 15:27:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Priit Laes X-Patchwork-Id: 10698515 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 75BB713BB for ; Mon, 26 Nov 2018 15:30:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6486329EB7 for ; Mon, 26 Nov 2018 15:30:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 524E329EFA; Mon, 26 Nov 2018 15:30:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.4 required=2.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id ED09129EE9 for ; Mon, 26 Nov 2018 15:30:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=RcXZud4KpKL7aHRx3fJn9IIiYCe5ZlfUKBnS047imls=; b=eAlDXaw8WtYcdZ sOwrjHrC78Ivzb458UxAuhxEcuUCka8xRpEAM/mfEJ1wt2RI7AKJ+g0YiuK/IMMCJw/CjPjiehR1t sRGUXyeObRNyn7ZFeo/6OoBjKRA69KWiLdjHMYrVwp5UFzxeigvfg71RM7BALxfGZmHAYo1+771sX iNOp14+gFOkWSkwjiUi5jAf098ZhqD7BvJaepo/zEgeLmiip5nK0mpa5OuaG32EAJJxmEV4Ix3Qlb gvfPD4Vpma2sJxh3GMCOOMRtSekY4liS91SkVrqAd4JQF1uF9uxWidOSHyxOzMmFX3DYErEzLRwj1 5b9KqQNJdlZtWxlYhgFw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gRIqG-0008IM-7W; Mon, 26 Nov 2018 15:30:32 +0000 Received: from plaes.org ([188.166.43.21]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gRIoc-0005TA-JP for linux-arm-kernel@lists.infradead.org; Mon, 26 Nov 2018 15:29:01 +0000 Received: from localhost (85.253.196.132.cable.starman.ee [85.253.196.132]) by plaes.org (Postfix) with ESMTPSA id E6D6E41C98; Mon, 26 Nov 2018 15:28:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=plaes.org; s=mail; t=1543246097; bh=CzTSiFHkG/4vi7zPzWOmDOTU8mhdpV8CyYqcUu+eeDg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=C78Hf0vATSkVp6wKkvu6lxHLgQNKFtijeRDVvI08+sHtR0Egw7ygWjI5qctNwr8LR AzVjoyCIFVUCin/0cWB0RDQE5UwIvZ+Z41HUb/dIth4xam4JwZlh42qINL2UUAoF++ ZCeZ7rfWRVqwtzGRGqA/fXnuEfZSOpwaQS3yz34YCxAs28I4pEsekp+2wcAaHP8mVd XfVZaZgQgIpvqwrhq7D6+NrwzpqGnAVsGrqr6BOaYVdySPxt7lwqUkMmjNGVnqubqP UzR+tlGv7raTU4LL6OW6rPDKqSvbyoSIP0mH0hqd3BduF6KY7fBUZHVU77De4qzgK0 MBT9xQql7JYWg== From: Priit Laes To: Lee Jones , Rob Herring , Mark Rutland , Chen-Yu Tsai , Maxime Ripard , Sebastian Reichel , Hans de Goede , Liam Girdwood , Mark Brown , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org Subject: [PATCH 12/14] mfd: axp20x: use explicit bit defines Date: Mon, 26 Nov 2018 17:27:53 +0200 Message-Id: X-Mailer: git-send-email 2.19.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181126_072851_507278_9D53143E X-CRM114-Status: GOOD ( 10.09 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Olliver Schinagl , Priit Laes Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Olliver Schinagl The AXP20X_OFF define is an actual specific bit, define it as such. Signed-off-by: Olliver Schinagl Signed-off-by: Priit Laes --- drivers/mfd/axp20x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c index da54399..e1450a5 100644 --- a/drivers/mfd/axp20x.c +++ b/drivers/mfd/axp20x.c @@ -30,7 +30,7 @@ #include #include -#define AXP20X_OFF 0x80 +#define AXP20X_OFF BIT(7) #define AXP806_REG_ADDR_EXT_ADDR_MASTER_MODE 0 #define AXP806_REG_ADDR_EXT_ADDR_SLAVE_MODE BIT(4)