From patchwork Thu Feb 8 18:24:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 13550282 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 08AD5C48260 for ; Thu, 8 Feb 2024 18:42:34 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E900A10E9FA; Thu, 8 Feb 2024 18:42:32 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="k8qSiAet"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9841F10E9F7 for ; Thu, 8 Feb 2024 18:42:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707417751; x=1738953751; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=PVZQea4vz3DuEQPtaVt+MCdeOQtQVI09e+jW/aO8CU8=; b=k8qSiAetiUWRvL8nDQ8Ve/E3SOcmTh+jJyPOzcprvwN67pAXU13GbdGz cVc7RO3pFyLrtAHUt36GW+8SZSO0AWN0PcywPNorNDCV2GR21B/0vFmey ie6xgzqlzbiZTdteDbWbEncP7l6cP1LjPlLJy/z2oDfh6uYE+fOl0JciD kvP0HCKMigvMpDCf+W9ZzDgTOSuF4Gei2LC/9opSHqi7n8oSZrP56ghvR nhZVWdMmTwRUVNhBCn4pCpnNL+5boOBEaMDuA6JYK7rWMDkeZ87yUXbhq ycw0ht0c+O1fCxOd5WKBOBW7urgR1LIPecZXRJVtU/kFmCv8CyJYj+foQ Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10978"; a="1184542" X-IronPort-AV: E=Sophos;i="6.05,254,1701158400"; d="scan'208";a="1184542" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2024 10:42:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10978"; a="934213673" X-IronPort-AV: E=Sophos;i="6.05,254,1701158400"; d="scan'208";a="934213673" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 08 Feb 2024 10:42:29 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id BE757147B; Thu, 8 Feb 2024 20:26:09 +0200 (EET) From: Andy Shevchenko To: Daniel Thompson , Flavio Suligoi , Andy Shevchenko , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Lee Jones , Jingoo Han , Helge Deller Subject: [PATCH v3 0/3] backlight: mp3309c: Allow to use on non-OF platforms Date: Thu, 8 Feb 2024 20:24:45 +0200 Message-ID: <20240208182608.2224191-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Allow to use driver on non-OF platforms and other cleanups. Changelog v3: - rebased on top of the last changes against this driver (Lee) - added tags to patch 2 (Daniel, Flavio) Changelog v2: - rename pm3309c_parse_dt_node() --> mp3309c_parse_fwnode() (Daniel) - add tags (Daniel, Flavio) - new patch 2 Andy Shevchenko (3): backlight: mp3309c: Make use of device properties backlight: mp3309c: use dev_err_probe() instead of dev_err() backlight: mp3309c: Utilise temporary variable for struct device drivers/video/backlight/mp3309c.c | 88 ++++++++++++------------------- 1 file changed, 35 insertions(+), 53 deletions(-)