Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6194140rdb; Thu, 14 Dec 2023 10:42:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IFd6ozF1ZY9Nu3cTePJgPe1af5t5Wuz2t/ZDKVHnac1FIfULTJOhuTcGENMPCzoPjvt7U/9 X-Received: by 2002:a05:6a20:914b:b0:18b:aceb:7a79 with SMTP id x11-20020a056a20914b00b0018baceb7a79mr6143123pzc.12.1702579326289; Thu, 14 Dec 2023 10:42:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702579326; cv=none; d=google.com; s=arc-20160816; b=tb/K+qdSltFtLEOOQpNo4tr3yTj9acW87V7EA9gqR8I4+g/w18OfwZJT4EFt1iCE6l bZ8nNEHe61r6nelyGl2OyaHkFZJwbEu5VfLSktHxXFFw5jrjxJyYhPYjNkD1CcDapH+v tK91D2Uo91epI09DdFNfCufjrbKIqWIV3KRfOae0qo7RT2pQ/x0KGZeFjuQbjhtPGRKs av5PPqO9X62Nl6okogyM18Ooo9fBRSbZZk2ji9QpegKkkL2Roxbi2bv/8p+jQIlM289s E84qRp9gkvm2hBEEpahBpYbl8cI49xwr1qg3An1g/qJ4OwjbD+Op2xHLT0mWMvJIphOF vtug== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=aoYbXHPaQ1UvS79vDULQ43Y1NkY/kTEbJ6+NXyD22BU=; fh=gYRgAXbu/FHO/Cqj/TKspqZnXUXsvaSPLTSdapZ7Ru0=; b=cBGyOvKKXV7J0Tgcosqygwh2VuFxW8/MKCAKcjDfze5VOb/X0h0WN93sK0GXqpJqI6 +KhFE0jjHUlTteoBPwPcTuUqgIsAwNYIu4ZfPdEuTyR14Egf2W/FYJmV/PMb0BaEaf9w P6IjXBF2UkCSWvGo45nPIQH1Y6UMhBmFpoIEBWjZDkDtebTQ5L25ONtK7X23EUnxOZwY KQTEZl/UyDPAPXx5YbtNkUk80CSlXPFlD5xKhD3KsIsC74Fc65UXJCfnUkCT0jdFhfDG LDVKBnogJqtNzkZUkxR00p1CSNhh87u9UPEzK+przbM25xf9nfqUPJMIxGJx9+gkDL3S z6/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SkBHWIff; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id e4-20020a17090a728400b002869c7e8d4fsi11845940pjg.1.2023.12.14.10.42.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 10:42:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SkBHWIff; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 886748080D48; Thu, 14 Dec 2023 10:41:13 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1573101AbjLNSkz (ORCPT + 99 others); Thu, 14 Dec 2023 13:40:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1444201AbjLNSkx (ORCPT ); Thu, 14 Dec 2023 13:40:53 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDEAF10F; Thu, 14 Dec 2023 10:40:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702579259; x=1734115259; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=N7rGglN+w0R8A5Lt7lXnmbQND5j6xiAnpyeA7uoua60=; b=SkBHWIfftkJTGCc4AcWnBcZuTX4Ix/Gkm2KUdNTlBr7JN8c00w4cGEic 0EFs7o6AFlo5pcGHKWqSzbX1K9/sG9G72vME+Gcv4Go0R/l3hx+KRWfCk lnMqGlYQBNPnp+AvTf+RRQ6v8wCeI4ACti3vVHveNXEj8K8BOKXM8esys vMH4jk/UiO0tOfOM+PhZp/P/xpfHd6z1TacEkqqyEIvGvRKxmO3oy/ltA CS98hQbo7N3G8HRLXfs/kHNIsV5QnlE+Wky51zRvhsCF2k9NOC1MsSHDL 8878W16Ih91T1Hqxj5bxggEFl6TMYUrccKXGj1YL4NmburgVBCTN3goB8 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10924"; a="385582270" X-IronPort-AV: E=Sophos;i="6.04,276,1695711600"; d="scan'208";a="385582270" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2023 10:40:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10924"; a="840374566" X-IronPort-AV: E=Sophos;i="6.04,276,1695711600"; d="scan'208";a="840374566" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga008.fm.intel.com with ESMTP; 14 Dec 2023 10:40:56 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id 0B42918E; Thu, 14 Dec 2023 20:40:52 +0200 (EET) From: Andy Shevchenko To: Andy Shevchenko , Patrick Rudolph , linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Pavel Machek , Lee Jones Subject: [PATCH v1 0/4] leds: max5970: Allow to use on non-OF platforms Date: Thu, 14 Dec 2023 20:40:07 +0200 Message-ID: <20231214184050.1272848-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 14 Dec 2023 10:41:13 -0800 (PST) Allow to use driver on non-OF platforms and other cleanups. Andy Shevchenko (4): leds: max5970: Remove unused variable leds: max5970: Make use of device properties leds: max5970: Make use of dev_err_probe() leds: max5970: Add missing headers drivers/leds/leds-max5970.c | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) -- 2.43.0.rc1.1.gbec44491f096