Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1777221ybg; Sat, 19 Oct 2019 02:17:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqxomvzvFjIj/zW/YrX5vx62y5r73Qc4dyCsGPcAe/sjJxLnTPamii+u2hOhnEKRsZtJ70pt X-Received: by 2002:a17:906:1348:: with SMTP id x8mr12627132ejb.72.1571476639568; Sat, 19 Oct 2019 02:17:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571476639; cv=none; d=google.com; s=arc-20160816; b=IqL2itfTjoWABtY425bsWPUYoHjBBfyt5Km6yTm1mKJpNORnHkuRlk8/kt81WEuW1l jESAPt6nvztTU4dqlGUe6dcFRkmzl163akiaeOcQ7K/SQ394de4ffS5vIVh0Iv7tSUF7 VD4I/NrmvFqwPBSh8DI901On/EFhrB1X/BQiuYC5Enr7MIuTe+CUE/59QiOenzVPY0Tt x9HQkxwef4AmxM2BkwkK4sNPYT9CFCW8tSX7IMb/eaRpGW8pdPRNaFCEsXX9rJ1J7k3B YUi7vPJdE8gsAzkFzPcc3JF+3A6AL7sUM3QS/MWHPI1DXBPgIU5CdZBMR92/H7mcYi7Z 72KQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=a+GAE0sVEXOhLy6brVlHTcwN/KDv0zWpSHSOu4P36c8=; b=Ievs7tswOltoSe5SPevMD1vwScC38EQFwZLrkPvj5uYgxo+f7/oEbv/2so5VUgEtBx 4iuBguczxN45WJnhp0xf+EWJQfSSCtxV/JdSkhbnGW4823BVuuRcKg+NighMuun8R4ax gc8PAC3MTNLpFc0c4hfdzdBGp0OgXUv1oe58ufg9m/dl2KzA5rfJ/lQSJBY9a2B4XfaC xbYWRIX9POJ3L9Y5Vyg4vj7t2np13cXMB1fbh5fciGvMdNAQUruRQOwz4bgH+WZWGJqJ gyhREfIe0LFaBFlLZpNZyj+NWvZmQV+gnj08CCsZdY/83VsS1ySfFiZ79h6CcEaVG1qE YFeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=YkN24xcm; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y8si5675739edd.355.2019.10.19.02.16.56; Sat, 19 Oct 2019 02:17:19 -0700 (PDT) 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=@ti.com header.s=ti-com-17Q1 header.b=YkN24xcm; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2410754AbfJRU2h (ORCPT + 99 others); Fri, 18 Oct 2019 16:28:37 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:53280 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404558AbfJRU2L (ORCPT ); Fri, 18 Oct 2019 16:28:11 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x9IKS3IM085329; Fri, 18 Oct 2019 15:28:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1571430483; bh=a+GAE0sVEXOhLy6brVlHTcwN/KDv0zWpSHSOu4P36c8=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=YkN24xcmOMIn0U7VQzsxJBYzWI0nHZRNSIlCd3PeJdqcVkqxl/Vq7GXzK0Cx0PIrG wkHWok4zRTKOwXMROQyN+5u03K3V1Wj26OVXs3gNgIwU0oR2a2XewH75iB8hsmLqRW J5eZvK7/x5vr2uV1v6JtVPyOcSBusdta861oOtN8= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x9IKS36B024931 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Oct 2019 15:28:03 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Fri, 18 Oct 2019 15:28:03 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Fri, 18 Oct 2019 15:27:55 -0500 Received: from [10.250.65.13] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id x9IKS3wP067488; Fri, 18 Oct 2019 15:28:03 -0500 Subject: Re: [PATCH v14 12/19] leds: lp55xx: Convert LED class registration to devm_* To: Jacek Anaszewski , CC: , References: <20191018122521.6757-1-dmurphy@ti.com> <20191018122521.6757-13-dmurphy@ti.com> <855cd70e-69d5-c5fe-3eb1-d0faee9327c6@gmail.com> From: Dan Murphy Message-ID: Date: Fri, 18 Oct 2019 15:27:30 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <855cd70e-69d5-c5fe-3eb1-d0faee9327c6@gmail.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Jacek On 10/18/19 1:02 PM, Jacek Anaszewski wrote: > Dan, > > Thank you for the patch. > > On 10/18/19 2:25 PM, Dan Murphy wrote: >> Convert the LED class registration calls to the LED devm_* >> registration calls. >> >> Signed-off-by: Dan Murphy >> --- >> drivers/leds/leds-lp5521.c | 9 +++------ >> drivers/leds/leds-lp5523.c | 9 +++------ >> drivers/leds/leds-lp55xx-common.c | 15 +-------------- >> drivers/leds/leds-lp55xx-common.h | 2 -- >> drivers/leds/leds-lp8501.c | 9 +++------ >> 5 files changed, 10 insertions(+), 34 deletions(-) > What about drivers/leds/leds-lp5562.c? > Ack I will make that change too. Dn