From patchwork Tue Jul 12 16:33:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 12915321 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1E6B0C433EF for ; Tue, 12 Jul 2022 16:35:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=etvZqn3NOPk3rm5i6aNh6uYSqmv9rBKqXG3p3mbkVSA=; b=VQKU0puEmSdTdn G+bOkt7N1zSy5n40meq2Rwhuakw8AoqYqvRjU29uiwMnmnU+umFU+bJo/CmNbfn1OGmq7yBAg8o/s O/eILKSEoNXrjVyLF08MvwXdi1go9NzZsHFwkv+ztyH96xSbVLRjRBXrjzSS4a/EARW0l2RvLjPnB UPtlSTH8W6XUqvrI3t3C1fK2bsJG5uYe5USUFH8OiZYZ4Hfz9dqxoiPWNm4FVAuzhVUpcxZRJpApH 5SsTn0L9KQ9ewCWgZkzxR1O8iyPQ/a66WAyZVfFkKKelv/8OpvWcPnVpJMX8nUjMQziMnbxdMPZ8/ BTWSbPjHrXcSwj4z4BNA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBIq6-00CrHM-B8; Tue, 12 Jul 2022 16:34:22 +0000 Received: from de-smtp-delivery-113.mimecast.com ([194.104.111.113]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBIpg-00Cr3G-SN for linux-arm-kernel@lists.infradead.org; Tue, 12 Jul 2022 16:34:00 +0000 Received: from CHE01-GV0-obe.outbound.protection.outlook.com (mail-gv0che01lp2047.outbound.protection.outlook.com [104.47.22.47]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id de-mta-22-lXjZf_bWMVmIFl8yF1cEaw-3; Tue, 12 Jul 2022 18:33:50 +0200 X-MC-Unique: lXjZf_bWMVmIFl8yF1cEaw-3 Received: from ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:2e::8) by ZRAP278MB0173.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:2c::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.15; Tue, 12 Jul 2022 16:33:48 +0000 Received: from ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM ([fe80::3d:ca30:8c24:1a95]) by ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM ([fe80::3d:ca30:8c24:1a95%7]) with mapi id 15.20.5417.026; Tue, 12 Jul 2022 16:33:47 +0000 From: Francesco Dolcini To: Lee Jones , Maxime Coquelin , Alexandre Torgue , Rob Herring , Krzysztof Kozlowski CC: Francesco Dolcini , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v2 1/5] mfd: stmpe: Remove rotator block from probe Date: Tue, 12 Jul 2022 18:33:41 +0200 Message-ID: <20220712163345.445811-2-francesco.dolcini@toradex.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220712163345.445811-1-francesco.dolcini@toradex.com> References: <20220712163345.445811-1-francesco.dolcini@toradex.com> X-ClientProxiedBy: MR1P264CA0165.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:55::13) To ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:2e::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3c48593c-4c2f-409f-a9b2-08da64244b77 X-MS-TrafficTypeDiagnostic: ZRAP278MB0173:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: DzNsB8jgWf3EzASoAEC3cEf8DSQsDVIbh3M0iurdaDYGHFdcbjDHp5YUaFlNc4IF/TOsCJgxsuvLjYJ3V3pMjfeUP+DaOHiATyQOB7wEojrBhvlujU6KGJNkUjf/g2nQM2uH/41tZgLueOZb7s2ofDafgYLdDTi1U75ZSLiCugWelmyL7PWAYA3eKlD2QRGDE+LfTsgr0Lbv9bL+UzI3gnZ3xmCRmuXIdbv3B/muAMySlmolsd1iXqEodvoTNZA8P6FJo22ncDD3DkD7tvPYtvEGmNLCyownN8ONuFJxyESS3MNB3KeK6Ev1Em+nnjmRjzav8+hrs4bpCw0sGKYja06WFSV2xXvGFZCbijfVznAkqrZyMRrs4ps9GUG+/eu9sxXHJFRoZC538m9JdzEu3Rj1o0EuOrLmrl4qpex4FTS16qCpcdvw4P1oxCrC3iMGsfsUyGnzt4sMyeUIwc2rnNVFVG8p4dwL/Nd8kxvJPH5GM9HDKFgP1l5YNcx1kAhhIs6pJ3Bsq8+qUZ/KnuItptS1MlnErE96IuLvS6+ZmolesiJo75mSw+omT55wVzZFLCY9HySq2pKoIkIUjPUpUDmvwot+nbN8KWiUKk75MJ3QGo71UnKTaK8vx5YbhxxDoMm4reOptIRcsdrafVWgkd+jtbZAuWQW7W02yw3/W5BHAhvZNyBD4k4mYuyJ9amiT+9yRAO7Z6L11FZWIjm/zihJqIGLSFrXiniLpnUuP/NWKY85g8BypLpOzZtA2Otc88x/2ji8IWlcex2UzzTSxxU7bnZ3Yt7emSisTyRT5IsRP2AzIJN5M0q8x06biPSs X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230016)(4636009)(39850400004)(376002)(346002)(366004)(396003)(136003)(478600001)(44832011)(6666004)(4744005)(36756003)(6486002)(8936002)(41300700001)(83380400001)(110136005)(316002)(5660300002)(2616005)(66946007)(26005)(1076003)(66556008)(8676002)(6512007)(186003)(52116002)(4326008)(66476007)(2906002)(38350700002)(6506007)(38100700002)(86362001);DIR:OUT;SFP:1102 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: tgYNDfB/hdOTNpML8YeG1s2TVu2uOHp+yrJU0rmCFBRa8OWpBIDgUQLheY3YXLZzmcJR5y6kjDef0YsjhYcN/+JMvp4CRIxvD0cq6zKp+mfuxje1R75Yx7s1eJTbJPdbEnE9vVjLyWM4TWmzaNe+T5Ms81+luFqDnhGQgkYAJYu4L5DyVoIErkhg/CjgDc+bWpgLsEEAuyWLc/PmCyFjwQfXkCy/ghacKBGUMiZo2dew6ye/ONqHF67WrF7Hz74HqbfCdtFfg/I8LRZ7toKqm4tM0i6FCwtkMLAKbc5W/avSxWSPcpkt081pVtaqdWidvusGqzuUyVwJKjIEbucRDX5WAAywM/99/LYLB/hWm42HfH6Sa/QAnzLdkibH8vUUzBavwW4gRR1cbQsC790k4BR8pH/DWxDoY9AjS09IbmV2faHpF1BSm7/kCxoadWA8QYVHaETziTlZIOfEx6MIiMzkqrbnR/qVxawHcD5iubQ4vyx1t851CvUcd/yNZYsol2HvTX4L9jc4fBuDTnv6V8y+btQid5Z1G8BUNNFe/UKsMyV7rnJezdSmigZ8Q6lWIOwVHy9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-Exchange-CrossTenant-Network-Message-Id: 3c48593c-4c2f-409f-a9b2-08da64244b77 X-MS-Exchange-CrossTenant-AuthSource: ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2022 16:33:47.5341 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: d9995866-0d9b-4251-8315-093f062abab4 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: BEwaokeWcaSAoF0IYi9Jf0RwS8Vws0P+DzLr5Cenp+dT8NHzNhsdX2wV/yGmxtcQYY+KbKQPk0JEICalmxApNlETehPu5Kg8gVchJMMxZBA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: ZRAP278MB0173 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: toradex.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220712_093357_274410_E37AA588 X-CRM114-Status: GOOD ( 10.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Remove rotator block from probe, it is not used in any device tree file, there is no related cell defined, it's just dead non-working code with no of_compatible for it. This is a preliminary change to allow probing by of_compatible and not by a fixed name. Signed-off-by: Francesco Dolcini --- v2: - new patch --- drivers/mfd/stmpe.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mfd/stmpe.c b/drivers/mfd/stmpe.c index aeb9ea55f97d..4aa4ac2ff406 100644 --- a/drivers/mfd/stmpe.c +++ b/drivers/mfd/stmpe.c @@ -1372,8 +1372,6 @@ static void stmpe_of_probe(struct stmpe_platform_data *pdata, pdata->blocks |= STMPE_BLOCK_ADC; } else if (of_node_name_eq(child, "stmpe_pwm")) { pdata->blocks |= STMPE_BLOCK_PWM; - } else if (of_node_name_eq(child, "stmpe_rotator")) { - pdata->blocks |= STMPE_BLOCK_ROTATOR; } } }