Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp462108pxf; Thu, 11 Mar 2021 07:40:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJxa79t1YL79p1v8MH6S/piZZ/5g8Mzv2p5sHYOVI2K51nXXHACiiwrA2seiv3V+uRQvHuKP X-Received: by 2002:a17:907:119b:: with SMTP id uz27mr3600780ejb.464.1615477217994; Thu, 11 Mar 2021 07:40:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615477217; cv=none; d=google.com; s=arc-20160816; b=aInDvg7pQ4+7pN8oxnWbpX02qW3RPGn2pvActVv5tZp5JxCu02clojoZS/wxDNTjCL juobI7LkDLx7zL7uV/1I2HH/a0JxmtBqY8b3NVd0Mjzw6Ygdm3cGZ25NArYHK5ixX55/ UtTWcAjOI9rQNJK6nhhBs71eR+kW9OoYRo4PEK6IiPb0l6O70vBcdpGtf0ROuA4+Ljxh mgQB94h3WUPPERifOQcRq9s1//e9tbfNHt4SuYBqFAzbgE3oIqCPg9s85Zp54Sxsw/4T ta+HGgvqavtsGB9wgqkDTAVn1WFAUlcMqYldUOVqXs/zyz9VOCZy4bEShUCatI5HJjyu xzDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=BHLUfYA54Gj8T09SwqhPe96gosW7sdozhf9WA0EbMLs=; b=W1Uzdusq2UbstEJU9Xh8KxtzH0dP1rmWaHgTGdbCL/x4v2QGJXTh9Njfmeb9OqObJ2 2KokJJG5gsO9+WMFJ2jdketA1AMcb768wwuNtc2pC6Rzfzy+BxQdf9iAiR8QPzdnaqip Bn1PxbO/HGjdW8iG8D++sFTQAQBjKzU8dwPIDwhDH+aM1vF2+FY7XUBxBz6dZQI8ttCQ Y7gcm+MG6wALf+w7WRreYtvCUE3maI1jRz2qzvtooQqJ0B0WCylPg1/98mTNF5V5nJTx 4p9f8+ERGE1ETwddxiSI/P0W0aqNFbmfmNviiIzCX2zNGKa+gzpI0GO3gxCEYymifOt/ njQQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nic.cz Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i9si2030499edx.595.2021.03.11.07.39.55; Thu, 11 Mar 2021 07:40:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nic.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234148AbhCKPin (ORCPT + 99 others); Thu, 11 Mar 2021 10:38:43 -0500 Received: from mail.nic.cz ([217.31.204.67]:52356 "EHLO mail.nic.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233653AbhCKPiQ (ORCPT ); Thu, 11 Mar 2021 10:38:16 -0500 Received: from localhost (unknown [IPv6:2a0e:b107:ae1:0:3e97:eff:fe61:c680]) by mail.nic.cz (Postfix) with ESMTPSA id EC1751408BD; Thu, 11 Mar 2021 16:38:14 +0100 (CET) Date: Thu, 11 Mar 2021 16:38:14 +0100 From: Marek Behun To: Hermes Zhang Cc: Pavel Machek , Dan Murphy , , Hermes Zhang , , Subject: Re: [PATCH] leds: leds-dual-gpio: Add dual GPIO LEDs driver Message-ID: <20210311163814.74c1885f@nic.cz> In-Reply-To: <20210311130408.10820-1-chenhui.zhang@axis.com> References: <20210311130408.10820-1-chenhui.zhang@axis.com> X-Mailer: Claws Mail 3.17.7 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-100.0 required=5.9 tests=SHORTCIRCUIT, USER_IN_WELCOMELIST,USER_IN_WHITELIST shortcircuit=ham autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.nic.cz X-Virus-Scanned: clamav-milter 0.102.2 at mail X-Virus-Status: Clean Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org LED_FULL, LED_HALF, LED_OFF are deprecated. And this driver is redundant. This can be done with leds-regulator, with a gpio-regulator. Marek