From patchwork Thu Dec 14 18:40:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 754166 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="SkBHWIff" 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 Precedence: bulk X-Mailing-List: linux-leds@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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(-)