Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2403933ybc; Wed, 20 Nov 2019 13:43:33 -0800 (PST) X-Google-Smtp-Source: APXvYqwFx1YCQto9jPIoGeRAqo5iBry6dwa9y4AJ9DZP3Dv2QJgVj5VQiqDMhpnth2p/07y4tAg+ X-Received: by 2002:a17:906:80d5:: with SMTP id a21mr8162744ejx.114.1574286213854; Wed, 20 Nov 2019 13:43:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574286213; cv=none; d=google.com; s=arc-20160816; b=bhagxdIyWaBXUsd6zUJ22Om0uEFl9JuFmPFrlXaN6SuCclrQfhcSip01lnBQYTzLbk S9sEO2SbeJJi4tk8r+sJIAuuc69rlob+cbZYdi7IOiQI+i9AG280odconu8nsy1JkjVq CoVwUFax/TSVw4YwZMxOSPicIgbJtqGNnFGobAAJltdmejBWlTwEm0xs9xAlo47Lj/mj N6+Tw+hYMHBiDfbMy1LGPk4qCzGT/7hOWe2ueTpc3Ac3AjJYIbfm5+3lOxYnt9vWEWzP b6FgENVWmMmNvStHdeSDpFB+i+5iuqhf/IyWDAOK/3q8UREe6gwbUgAfcQ9Xr8KbAp5E 7k+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=mKo0P/Q8cmzwBALgYywH4B3hP8VLlyfhnZgOVR39oBI=; b=cpsgOZVBzVorlyv5gzZUuvLdikeHNPL7YjxJTTSLZ22VaNhjJO9aNbm15FfwwLT2qb E8G+S7YvXfYVwNGtA6TQ4hxDxJ3gXDM6VjCQDjvoDU7cj1QLefNUUJWuSEavxVSIdPy6 pih9YDik4z8sATUXzmX1G9xUoRTtcZ0j7uTUGCnYoiRUKzqRlXR0KkadEfBbVOjOTsZa SLPmYPI2bj4hiAQm0/96jjYDxHDvAEJi5eIb6DI8TFB6ep1vIgt6r5XET21PBt81z1Oj Mol/Zi2dG0KnDyl0+VK3isCe33JE7fs/A4CCHr8HaXq1guN2divtrU5eSqnyj3j1oWkt sJaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="a/zwNnaM"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z35si578063edz.260.2019.11.20.13.43.09; Wed, 20 Nov 2019 13:43:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="a/zwNnaM"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726529AbfKTVmD (ORCPT + 99 others); Wed, 20 Nov 2019 16:42:03 -0500 Received: from mail-ot1-f68.google.com ([209.85.210.68]:41849 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725819AbfKTVmD (ORCPT ); Wed, 20 Nov 2019 16:42:03 -0500 Received: by mail-ot1-f68.google.com with SMTP id 94so984016oty.8; Wed, 20 Nov 2019 13:42:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mKo0P/Q8cmzwBALgYywH4B3hP8VLlyfhnZgOVR39oBI=; b=a/zwNnaMubLKzewBw2D1TLt2p4FhSF2Rf/Xxj8+z/s8AZMEsUpJtokRYUugEZpyHXb GSKhIM/5/lVyO59y3/zyg5TobGRnaumHd6dZWbjwKIixSAVnURIPldxfnpQaDNY7ZU6G n/weKwsSPJWwOxP+Rc1Y2kJpPFt+XNsl+0+SU5FJH9dCUX95B+TebBeEsvhug8O7iWqI E00h/14iR0x04Hs+t8Umbb7G/IL3iep8ZtcUsILxU8BI9Svw4if1o1ouvPUJ1fMQ5rbG hjdQ8jo3bYoI2OHDM9f+m1GgL42baajj086F7H5ek9y/U4suPlUltegDJvkKakcL+6w7 KNtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mKo0P/Q8cmzwBALgYywH4B3hP8VLlyfhnZgOVR39oBI=; b=bp43/iuYqdgbfiw0Ov0qQo6u//s6PP7PgVWGsQe5vUq7DZAhaUMZtKod6RP5h33Eck oytXMek/965s6ocwwKrswiaeVHYZS/B7SEbq9iKFgApMuVYXLvI8/Wkf/hYJx8uGXp8W 2f8bbk02X1f6/Sv0lkuyYFe+cxZXDyh9h0ZcoWQhRGUCKsuxag/pfOsEhImrR63ofwW1 RtUXVp0HkPzwaxY7X0fCd44l1AkW2ARxSg/xn96R4pMFpOEOBY3VGOIMpW+1y4ILGDO0 2WgJ322t8OfDEENbRpIY3DvvTilDaGV4F0PctsD6G0WJmfbHIgKC7zAzVGsEXZD0Yuno ACBg== X-Gm-Message-State: APjAAAWaGgb9BpOVoed4MIKYWgxaPpwsJbGCt2IfCSMcqTK8gh28K7ZT LA4rkOZLrqxgA95ygksTfvuzFTeZTY+H94PnanYdaA== X-Received: by 2002:a9d:12d2:: with SMTP id g76mr3938582otg.232.1574286122164; Wed, 20 Nov 2019 13:42:02 -0800 (PST) MIME-Version: 1.0 References: <20191120144401.30452-1-TheSven73@gmail.com> <20191120144401.30452-3-TheSven73@gmail.com> <07b85f68-3668-e354-3379-13d32e84466f@gmail.com> In-Reply-To: <07b85f68-3668-e354-3379-13d32e84466f@gmail.com> From: Sven Van Asbroeck Date: Wed, 20 Nov 2019 16:41:51 -0500 Message-ID: Subject: Re: [PATCH v3 2/3] leds: tps6105x: add driver for mfd chip led mode To: Jacek Anaszewski Cc: Lee Jones , Pavel Machek , Rob Herring , Linus Walleij , Grigoryev Denis , Axel Lin , Dan Murphy , Mark Rutland , devicetree , Linux Kernel Mailing List , linux-leds@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jacek, On Wed, Nov 20, 2019 at 4:33 PM Jacek Anaszewski wrote: > This is covered in DT bindings, it is redundant in the commit message. Ok, I will remove it from the commit message. > > + priv->cdev.name = "tps6105x::torch"; > > Please remove above line. > > And use new LED registration API like below: > > struct led_init_data init_data = { > .devicename = "tps6105x", > .default_label = ":torch" }; > > return devm_led_classdev_register_ext(&pdev->dev, &priv->cdev, &init_data); I would love to do that, but my platform (with a tps6105x) can only boot a lts vendor kernel (4.14). classdev_register_ext() is not available there. I can make the change you suggest, but cannot test to check if it will actually work. Is that ok for you?