From patchwork Wed Oct 22 15:26:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 5133411 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 895A3C11AC for ; Wed, 22 Oct 2014 15:26:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 663AA2013A for ; Wed, 22 Oct 2014 15:26:29 +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 78842200FF for ; Wed, 22 Oct 2014 15:26:28 +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 1Xgxlb-0007bo-QS; Wed, 22 Oct 2014 15:24:03 +0000 Received: from mail-wg0-x229.google.com ([2a00:1450:400c:c00::229]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XgxlG-0007Dl-Lf for linux-arm-kernel@lists.infradead.org; Wed, 22 Oct 2014 15:23:43 +0000 Received: by mail-wg0-f41.google.com with SMTP id b13so4074760wgh.24 for ; Wed, 22 Oct 2014 08:23:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=jIaWd2Icy7QXRFQbi2MJFJUTrujrWPlYaQzzIfiA/D4=; b=wfCj5Ouoq9L8lLmO2ca3ckyD43mWX7z/5U3Z93NljUJWYVRua+ywu5W/UdBwE5jMFe PgaJmUqmVCGyUbS7s3nL1jczWwFLmn1Nf5FE/Q4t8XbGMCDwOH0ugH1Q1az7Z602yXpT HcuK5tYQnqhieCsHPnMg3dEEZQ9lkCdzKjO+u+XYtmQIPsFQDZhTqNyFc0tJQTsS3Qn+ uRDCKu0dzZ+hVKtNcpWV0Hopy8VgnrF1eOaU6W/xQR+CD+6wHX/3Uj7HZDOlfdPJs8hM fCWDh0xnh8t0MWwusKqeW8q6R9DH8jX9wsygRYfv1qb45FGTKsZPMqGid2TWeUFnMocU uFlg== X-Received: by 10.180.74.173 with SMTP id u13mr38428556wiv.64.1413991399972; Wed, 22 Oct 2014 08:23:19 -0700 (PDT) Received: from localhost.localdomain (AToulouse-554-1-17-219.w92-149.abo.wanadoo.fr. [92.149.96.219]) by mx.google.com with ESMTPSA id hz8sm19245812wjb.13.2014.10.22.08.23.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Oct 2014 08:23:19 -0700 (PDT) From: Romain Perier To: sameo@linux.intel.com Subject: [PATCH v1 1/5] mfd: tps65910: Convert ti, system-power-controller DT property to poweroff-source Date: Wed, 22 Oct 2014 15:26:23 +0000 Message-Id: <1413991587-11110-1-git-send-email-romain.perier@gmail.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141022_082342_873293_4F5A749E X-CRM114-Status: UNSURE ( 9.59 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: mark.rutland@arm.com, gnurou@gmail.com, linux@arm.linux.org.uk, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, broonie@kernel.org, swarren@wwwdotorg.org, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, thierry.reding@gmail.com, galak@codeaurora.org, grant.likely@linaro.org, lee.jones@linaro.org, linux-arm-kernel@lists.infradead.org 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=-3.2 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 No longer use custom property to define poweroff capability, use the standard DT property instead. Signed-off-by: Romain Perier --- drivers/mfd/tps65910.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mfd/tps65910.c b/drivers/mfd/tps65910.c index 7612d89..b8dca8a 100644 --- a/drivers/mfd/tps65910.c +++ b/drivers/mfd/tps65910.c @@ -423,8 +423,7 @@ static struct tps65910_board *tps65910_parse_dt(struct i2c_client *client, board_info->irq = client->irq; board_info->irq_base = -1; - board_info->pm_off = of_property_read_bool(np, - "ti,system-power-controller"); + board_info->pm_off = of_system_has_poweroff_source(np); return board_info; }