From patchwork Sun Jan 14 15:25:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 762745 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3AF8323D2; Sun, 14 Jan 2024 15:28:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="DZPSaiNO" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705246086; x=1736782086; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=kJ9IuL80YjK4r1jJ1meGk8LiMzS8j09TCsj86U8N1vE=; b=DZPSaiNO4O3D1Hj4aL38yGgTIDw8EwqjvLzesviY63gq77K5J+Em4Mb8 92+bKhRytX8j5sFZH/3DLWvebgoWu2abWvvZz0unywUM1D7mISWdqs4t3 nsbLA3mnUaixtn3+EZkbSey6DzG7T5JZP/uHOw/RwS2JPz/cCPJonfSqk AXpORH/+V9Ej+CNnT9qTy5p2ouvHe5WDJmLCkGSbde3QeasEZ8zSrFd+9 DEynggT+1izCkWXYQdOQsOuPJ3J6tW979xm8hcc8e6sQZJc5tFPpLXL8g +IR9J9Pt/Tqsn3np7HwyABazH2JtyEHqof/9bx+VlRZXdtigDKREc8wrp w==; X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="12835860" X-IronPort-AV: E=Sophos;i="6.04,194,1695711600"; d="scan'208";a="12835860" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jan 2024 07:28:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="1030429354" X-IronPort-AV: E=Sophos;i="6.04,194,1695711600"; d="scan'208";a="1030429354" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga006.fm.intel.com with ESMTP; 14 Jan 2024 07:28:03 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id 132692AC; Sun, 14 Jan 2024 17:28:01 +0200 (EET) From: Andy Shevchenko To: Andy Shevchenko , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Lee Jones , Daniel Thompson , Jingoo Han , Helge Deller Subject: [PATCH v1 0/4] backlight: hx8357: Clean up and make OF-independent Date: Sun, 14 Jan 2024 17:25:07 +0200 Message-ID: <20240114152759.1040563-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 Precedence: bulk X-Mailing-List: linux-fbdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 A few ad-hoc cleanups and one patch to make driver OF-independent. Andy Shevchenko (4): backlight: hx8357: Make use of device properties backlight: hx8357: Move OF table closer to its consumer backlight: hx8357: Make use of dev_err_probe() backlight: hx8357: Utilise temporary variable for struct device drivers/video/backlight/hx8357.c | 57 +++++++++++++++----------------- 1 file changed, 27 insertions(+), 30 deletions(-) Reviewed-by: Javier Martinez Canillas