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: 10698549 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 2EB441869 for ; Mon, 26 Nov 2018 15:36:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1D95A29F8B for ; Mon, 26 Nov 2018 15:36:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1157229F95; Mon, 26 Nov 2018 15:36:36 +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=-6.9 required=2.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B24F229F99 for ; Mon, 26 Nov 2018 15:36:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726557AbeK0CbC (ORCPT ); Mon, 26 Nov 2018 21:31:02 -0500 Received: from plaes.org ([188.166.43.21]:50336 "EHLO plaes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726701AbeK0CbB (ORCPT ); Mon, 26 Nov 2018 21:31:01 -0500 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 Cc: Priit Laes , Olliver Schinagl 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 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.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)