From patchwork Thu Apr 28 09:32:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ChiYuan Huang X-Patchwork-Id: 12830257 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 80E8BC433F5 for ; Thu, 28 Apr 2022 09:34:59 +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:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id: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=gq0Dd434k/8rpoFeNO7h/qz9c0hwKf/sR4sSbkMFAYA=; b=2b81CKF9BUcu1B vuyckOfafiB45kW3I59NdFxFXx7/EVDELZTipFj0eCsznYEjydrfzY+07h3Lyuoh47sRvsaTkiqCy FLK49ZqOx2iCJ2JntOb34+xv3m/XoKbD2HTT0W8rMw6wNn8YbuaQds0FQEVQf6lrS4wHHLquFmYTG /+Yt8DATKNZ7+7lBesAb3JExCPtnweTyysfjiF7DtOgdcZfZgGckUOzPN4WC7+lr7zgHVTq/pF/Op GxIY+FXcZgC8JNWOawsZEbqkGW+08E6G6gbN3IsL8Az7YIsvJ+2by9T1hbGxrrZyJcFUr4J0zEC+s 45bMZf0/AMTprw3+T3uA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nk0Ws-005k71-P0; Thu, 28 Apr 2022 09:33:42 +0000 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nk0WX-005jzL-OZ; Thu, 28 Apr 2022 09:33:26 +0000 Received: by mail-pl1-x630.google.com with SMTP id u7so3827330plg.13; Thu, 28 Apr 2022 02:33:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=NM66A5OAYldkjcIb7EpGVNaXhKoeVCq/L19afQaEiL8=; b=hh5ezwk8i9ar3NTDhQHy0zyGei9208iSfcYM4YKq7O7K0RrZv8nlLNVmZC5WZjFeyG wSX/vbgQt2Owd+lFxbpKWcSA8srI+fqG+qf+la3Z5DnRkViqZk9izZXHExD0DrFrdU6g znQ5hG8nP1Qm/IlUv5O9ZnAEjDc0HzgE7Joasu9VCfXtqikXU5Mf1J6AjzQuQCYMFEJX 8XnAzmx4tNgZn8QLBihX54lO8xfa9WhADOdlOAG/dWZIgCLDmQ7YEYe4LKRiFPa2NU6z rjv+mv8su9wKGjN9xhgry1eXts98AoZqtZSFfEafhAowpMyfOrW4ALy/NGCPxvkZWxoh 4Cfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=NM66A5OAYldkjcIb7EpGVNaXhKoeVCq/L19afQaEiL8=; b=6yXwgwvh5nTMzo1QQWzB0a0YnWuRzcizNIgc7e/E1D5Dq5jAQZAf9pPrtIJ3X857c3 7mj5DpIL2c4keq/BpVQqtGbB5fH7hGr4xfKyN7s+JnJ6iB+kVBphpnzKESEfhc4ZlpMe Tm00eM6dMtDs4rXFMnb7abvS2n8JmQ9Bj7y7GhPCdJYoippnh9Z831vxX1YqQAtlpGQz jmjw9hW/jEH0z2Nsf1m4iQrdOrY7Hy8GIZkJRImlYwRYg/K9atl/pbLtLHfP0awdLqWu ECy0+zNHNPLPS/q3TSyrpKVY3Nm8sMPj4Q2p7rOHulNsOTSTW1la3jqyw0fdrgvbdQEz ku8Q== X-Gm-Message-State: AOAM533fF6sFLUrkz5yG7j+ojyXmnHS8vUA6jrTV5VA41lSB4KZ9c1ER tLF3IjOeBdgxLLe67kK2w74QuDOSYqI= X-Google-Smtp-Source: ABdhPJy/iXJqbVKjkw099C2uzmg24SKXb49S4CmFSCjXdPCaT9YW/nJ4DtvBfrGPZAG8YdZqZYDZvw== X-Received: by 2002:a17:902:8c81:b0:156:7fee:643b with SMTP id t1-20020a1709028c8100b001567fee643bmr32899635plo.59.1651138398072; Thu, 28 Apr 2022 02:33:18 -0700 (PDT) Received: from localhost.localdomain ([2402:7500:569:2b1f:d169:337e:6359:8ff7]) by smtp.gmail.com with ESMTPSA id i66-20020a628745000000b0050d36a5fe70sm15457932pfe.127.2022.04.28.02.33.14 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Apr 2022 02:33:17 -0700 (PDT) From: cy_huang To: pavel@ucw.cz, matthias.bgg@gmail.com Cc: cy_huang@richtek.com, jacek.anaszewski@gmail.com, gene_chen@richtek.com, linux-leds@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/4] leds: flash: mt6360: Remove unused dependency in Kconfig Date: Thu, 28 Apr 2022 17:32:43 +0800 Message-Id: <1651138365-17362-3-git-send-email-u0084500@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1651138365-17362-1-git-send-email-u0084500@gmail.com> References: <1651138365-17362-1-git-send-email-u0084500@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220428_023321_843022_624FE7E1 X-CRM114-Status: GOOD ( 11.11 ) 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: ChiYuan Huang Kconfig already guarantee LED_CLASS_FLASH will be selected. Remove useless dependency for LEDS_CLASS/LEDS_CLASS_FLASH. Signed-off-by: ChiYuan Huang --- drivers/leds/flash/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/leds/flash/Kconfig b/drivers/leds/flash/Kconfig index d3eb689..38b325c 100644 --- a/drivers/leds/flash/Kconfig +++ b/drivers/leds/flash/Kconfig @@ -50,8 +50,7 @@ config LEDS_MAX77693 config LEDS_MT6360 tristate "LED Support for Mediatek MT6360 PMIC" - depends on LEDS_CLASS && OF - depends on LEDS_CLASS_FLASH || !LEDS_CLASS_FLASH + depends on OF depends on LEDS_CLASS_MULTICOLOR || !LEDS_CLASS_MULTICOLOR depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS depends on MFD_MT6360