Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2269216ybi; Mon, 1 Jul 2019 09:04:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqzrnvJnxpmZb1NPYnUdAUlen+vuUp1+ezo3MOQNC+fYZ9Lby5RG6ak/w7zymaf9WBHS+Zal X-Received: by 2002:a17:90a:cb8e:: with SMTP id a14mr41989pju.124.1561997093306; Mon, 01 Jul 2019 09:04:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561997093; cv=none; d=google.com; s=arc-20160816; b=YZLRVY0RdUUbGjEd0DIB0GFDNugPNpaSGy2AwBRRdRsgLCXhYOEB0uj2GrnHYgIgV0 XXLPaWfkWbd7M0Kx/kzjSwoM6aoPtPYs5dTqQhrlIGUhKkXIBvxVaNMgpZDrKlVeG7dc i1MPqAKsopRcB1LfyD4HHbSG6mPpEXCWICxjmb0GIoQuUz62aMBRCoqh6Hq/Y5OSFq8X uValhjgQtjxMwD5xuEwQ704BvPTANyLbrkhlRM84pf0iLNzgdbmqdu7t//6qZkFuTMM2 x6lvHJLzdm4203OiHyVM3tw3N9kL8iTZF0UKatQwQG3ST/Es9gqxzI0PDfjgs0AM/2G9 43yQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=9UljRItItFXC7gllaubfBPsW/fvjSb11D/1K/Aban6E=; b=uiepbI7RDhDrMypKg8MkH8vgVimmGrt9GVgmUIsbnKuFuaHAL6LSqZwUNFvGAEUdsA a+k12GjuyMfLWXtTxVky+D8lNol1vKZNnbKpEAg/wP2w/21XGxZFYtwo9H/L5P8DSIxb OMn7qP3r1dE6XKdyXMtC0H/3OM0oW9Y2/tZ1nUmwBuycu2BiIvxL88IhUtX1LoYsc9F2 2bJP1lkZ9PLJaZUim4WNk7cR1qKw/Yak4lH1uevtMZR9SJsf7yjiv+6kLzveha9/dOXu vhnWEm9NXERJqaWfY9dOtVqGzqqOjL7HmewJZAWggY8abpEteKbKoaciKc7hi5wEwK10 rI3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=omIb7Cjg; 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 u10si10010089pgc.490.2019.07.01.09.04.37; Mon, 01 Jul 2019 09:04:53 -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=omIb7Cjg; 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 S1728873AbfGAP0K (ORCPT + 99 others); Mon, 1 Jul 2019 11:26:10 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:59514 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728801AbfGAP0K (ORCPT ); Mon, 1 Jul 2019 11:26:10 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x61FQ6Of005375; Mon, 1 Jul 2019 10:26:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1561994766; bh=9UljRItItFXC7gllaubfBPsW/fvjSb11D/1K/Aban6E=; h=From:To:CC:Subject:Date; b=omIb7CjgeuwlvLCyVNz26T1pzLBWRbwJdQ6AU/pgwS4bU2dQte3I1WRLVb58PsNpu dXgOEEtJ1CDhPqIOu/+X71dDsJCw2zxiMDPoYcu9/92dO3aCEUEEqBaIZ9bZId8wx5 /LOcWDz8Ofp65/St3szECiClD3nVuFTGngIH8VrA= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x61FQ6Xi068630 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 1 Jul 2019 10:26:06 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Mon, 1 Jul 2019 10:26:06 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE102.ent.ti.com (10.64.6.23) 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; Mon, 1 Jul 2019 10:26:06 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id x61FQ5ax022326; Mon, 1 Jul 2019 10:26:06 -0500 From: Jean-Jacques Hiblot To: , , CC: , , , Jean-Jacques Hiblot Subject: [PATCH 0/2] leds: tlc591xx: switch to OF and managed API Date: Mon, 1 Jul 2019 17:26:00 +0200 Message-ID: <20190701152602.31716-1-jjhiblot@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain 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 This mini-series updates the tlc591xx driver to use the managed API. The driver is also modified to pass the DT node to the LED core layer. The goal is to be able to the generic led-backlight [0] driver on top of it. [0] https://lore.kernel.org/patchwork/project/lkml/list/?series=400524 Jean-Jacques Hiblot (2): leds: tlc591xx: simplify driver by using the managed led API leds: tlc591xx: Use the OF version of the LED registration function drivers/leds/leds-tlc591xx.c | 81 ++++++++++-------------------------- 1 file changed, 21 insertions(+), 60 deletions(-) -- 2.17.1