From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ECC68C2BCA1 for ; Fri, 7 Jun 2019 15:44:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B4E882146E for ; Fri, 7 Jun 2019 15:44:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=crapouillou.net header.i=@crapouillou.net header.b="iqgslyEs" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731072AbfFGPoZ (ORCPT ); Fri, 7 Jun 2019 11:44:25 -0400 Received: from outils.crapouillou.net ([89.234.176.41]:48070 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731040AbfFGPoU (ORCPT ); Fri, 7 Jun 2019 11:44:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1559922258; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eaMMjjO6GjkOecl+5NcUj1ujYtdY632QmibYiRdHYSE=; b=iqgslyEsosWoxhOHDygV/fhPw2b30/16mkUA+T4z8W+tH/SUme/vRLVVrJcm0sA6lRX4lU rfVvF6S3b+Sx6BGHCtLQtaqx/uuE3nokgAT8CX45MxHOYQYvWs6rD7dThQNgvgIOHdN/iI Ud0nGT8Sw6ZWNjaj8lohNG/z/6okTyg= From: Paul Cercueil To: Thierry Reding , Rob Herring , Mark Rutland Cc: od@zcrc.me, linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Cercueil Subject: [PATCH v2 2/6] pwm: jz4740: Remove unused devicetree compatible strings Date: Fri, 7 Jun 2019 17:44:06 +0200 Message-Id: <20190607154410.10633-3-paul@crapouillou.net> In-Reply-To: <20190607154410.10633-1-paul@crapouillou.net> References: <20190607154410.10633-1-paul@crapouillou.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Right now none of the Ingenic-based boards probe this driver from devicetree. This driver defined three compatible strings for the exact same behaviour. Before these strings are used, we can remove two of them. Signed-off-by: Paul Cercueil --- Notes: v2: Rebase on v5.2-rc3 drivers/pwm/pwm-jz4740.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/pwm/pwm-jz4740.c b/drivers/pwm/pwm-jz4740.c index 88a51a40e695..5c8bb6192201 100644 --- a/drivers/pwm/pwm-jz4740.c +++ b/drivers/pwm/pwm-jz4740.c @@ -184,8 +184,6 @@ static int jz4740_pwm_remove(struct platform_device *pdev) #ifdef CONFIG_OF static const struct of_device_id jz4740_pwm_dt_ids[] = { { .compatible = "ingenic,jz4740-pwm", }, - { .compatible = "ingenic,jz4770-pwm", }, - { .compatible = "ingenic,jz4780-pwm", }, {}, }; MODULE_DEVICE_TABLE(of, jz4740_pwm_dt_ids); -- 2.21.0.593.g511ec345e18