From patchwork Wed Jan 21 23:09:41 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rickard Strandqvist X-Patchwork-Id: 5680911 Return-Path: X-Original-To: patchwork-linux-arm@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 615C59F2ED for ; Wed, 21 Jan 2015 23:16:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9033A20465 for ; Wed, 21 Jan 2015 23:16:07 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B94F520462 for ; Wed, 21 Jan 2015 23:16:06 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YE4TU-0000ZP-Rp; Wed, 21 Jan 2015 23:14:12 +0000 Received: from mail-we0-f180.google.com ([74.125.82.180]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YE4TR-0000YV-Va for linux-arm-kernel@lists.infradead.org; Wed, 21 Jan 2015 23:14:10 +0000 Received: by mail-we0-f180.google.com with SMTP id m14so20703192wev.11 for ; Wed, 21 Jan 2015 15:13:47 -0800 (PST) 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; bh=+kcnK6pN4Zqsk/wXHsOObOkG9NalrnqyZSaODGMIO3k=; b=eUM+30O7pk59An9lsldk7CgP9VUx51IsnYzVPVd7n2XVFRxetFFbS2fxGfu81m1e1j 0y3i3yfN61MyqjJXnwuKF7gB+bl3xbh1+VHgJi3LQKEtH9AxFKe9ZFp6X11Da58Nl1D5 MTo2AzR6H04+HILw6nQlDVVQEYnHoeHmR7bxC4yRHJ8RK4erOik4P+c3Sy+Ful5kwVx4 fJ0wOtye+JDMgxW7/UZJ2OdAG5W2CknJD7VCm0mXbSWcTYwfudi6YQ3AaCX/IRwTQoFv JMhEsPDZr85pNNvp7crqD/QXwoCMiPNKRZEfhDWdAMV8n6wLWvtOhkYGNjvfz8jBbd5k PIEA== X-Gm-Message-State: ALoCoQmqftDw1QUeLGBBR/5YqWPoXqPiFw5Q7AVdxRJfcKLGq8hmhAJycDQ8CC/PTv750sBc7fNH X-Received: by 10.180.97.195 with SMTP id ec3mr62547140wib.79.1421881591175; Wed, 21 Jan 2015 15:06:31 -0800 (PST) Received: from localhost.localdomain (h-246-111.a218.priv.bahnhof.se. [85.24.246.111]) by mx.google.com with ESMTPSA id ej10sm711775wib.2.2015.01.21.15.06.29 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Jan 2015 15:06:30 -0800 (PST) From: Rickard Strandqvist To: Linus Walleij , Russell King , Arnd Bergmann , Lee Jones Subject: [PATCH 1/2] ARM: ux500: Move struct Date: Thu, 22 Jan 2015 00:09:41 +0100 Message-Id: <1421881782-23716-1-git-send-email-rickard_strandqvist@spectrumdigital.se> X-Mailer: git-send-email 1.7.10.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150121_151410_225057_5B3C6A7B X-CRM114-Status: GOOD ( 10.14 ) X-Spam-Score: -0.7 (/) Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Rickard Strandqvist X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_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 Move struct ab8500_ext_regulator_cfg to the only file that is now used in. Signed-off-by: Rickard Strandqvist --- drivers/regulator/ab8500-ext.c | 6 ++++++ include/linux/regulator/ab8500.h | 5 ----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/regulator/ab8500-ext.c b/drivers/regulator/ab8500-ext.c index 84c1ee3..a40c701 100644 --- a/drivers/regulator/ab8500-ext.c +++ b/drivers/regulator/ab8500-ext.c @@ -25,6 +25,12 @@ #include #include + +/* AB8500 external regulators */ +struct ab8500_ext_regulator_cfg { + bool hwreq; /* requires hw mode or high power mode */ +}; + /** * struct ab8500_ext_regulator_info - ab8500 regulator information * @dev: device pointer diff --git a/include/linux/regulator/ab8500.h b/include/linux/regulator/ab8500.h index d8ecefa..802529b 100644 --- a/include/linux/regulator/ab8500.h +++ b/include/linux/regulator/ab8500.h @@ -300,11 +300,6 @@ enum ab8540_regulator_reg { AB8540_NUM_REGULATOR_REGISTERS, }; -/* AB8500 external regulators */ -struct ab8500_ext_regulator_cfg { - bool hwreq; /* requires hw mode or high power mode */ -}; - enum ab8500_ext_regulator_id { AB8500_EXT_SUPPLY1, AB8500_EXT_SUPPLY2,