Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp316475rdb; Thu, 1 Feb 2024 09:14:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IF8YzUY27O2h6GLUZy95Im9Ib2VESeRp3LVlUaNfAR+vZ+21teCRvi9fdDNrRAOAb4HPH0l X-Received: by 2002:a17:90b:1956:b0:296:8a7:c556 with SMTP id nk22-20020a17090b195600b0029608a7c556mr2659658pjb.49.1706807677134; Thu, 01 Feb 2024 09:14:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706807677; cv=pass; d=google.com; s=arc-20160816; b=yLsyF5mSeiZ1WsvPXRbsbx425apvAe25MpOZ/Ekb02RuB/sRbDxoJJL4goHkibueUQ HJApgq+nY7RT2qw+mtSpR7BzEZeBsvTe3nkC+04LxyUIcZvJB+xZcsAr05HKsDADAbim Hq2rpR5t+hzJTEugOEmI+P9SxiPOArCOo8fTw5ulQgcAp8ngnjNNNlMuZCvb8JR8yYUq XlhGgpvLQs3KUG7UZ2Q3hOPpdgIcvCB1aqJBPUOLUg2FHs2cwuOnEBAVzKOt7Yy2XqH6 KR6ijLdwDoU7KlezG7LJVnUGEJwNFlpkKVKe5SnR4EuJO3SZcMz7sP0ePhCuGCcABpMc bL6A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=0d31q4uww/nQAwU8n4VSS6Ad39uDWvPlG9VC9crSRS4=; fh=DP6GnBjgSS0bl7S21S4j9kCBXH93pUUd+PeVtlgLCFw=; b=feCrlph2x+VoyTbDaez7vgOXWzq4Xi1GJmlzf0WPcpC8R+kG1izRS2OqcrcjXGJwmt /x3/sNHZiOjL9RnnVqXhiTeYrXKL1yOnxXZ4B8l82RpKoWQfANOs2GmUoLz1vo41Y/eV 2+/wQEpAu5oDzckvwmHwDU6kBqKoXAzmAjEKCkSt5bqdaj7gx4Vvos7fLTIkUfp9Vj8Y i4hGfss1mcMbSE1eBHx7WwU4+fKkYqVjSZ+mI/XMeP2pPATmkZP8bqEX483haJRilxKV jmS7ni6VQfKFz6fMqbCVWmbjVFDR1d8OGIRE0bBvgxazhDzTKCNoxsixIEpGhZ6aKvUh ztIQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=MCKAqLK0; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-48359-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48359-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=1; AJvYcCVONPly6zmWppDLqVfP6DinAAyrvIMH3+0s6YxcOM7Dsc9cgN9BC+uthVHYDFrUdeImvoNG38YIY6nkwiZfnvtOYVW8TyJz0ybM6Zo/8w== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id lp16-20020a17090b4a9000b002962a29f846si187415pjb.19.2024.02.01.09.14.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 09:14:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48359-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=MCKAqLK0; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-48359-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48359-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id ED7E82936DD for ; Thu, 1 Feb 2024 15:06:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F0A5D62142; Thu, 1 Feb 2024 15:06:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="MCKAqLK0" Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.115]) (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 8247E5F48C; Thu, 1 Feb 2024 15:06:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.55.52.115 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706800006; cv=none; b=SCH7tZZox1L2DUAp2yeveBSkdYRK2xhc6tY4njtT2MJZbd0+amd5ZtTywDZyyZzWuFIugbGlOSVpVB8QFSbvzr0ZHVgMOgHgkM0h//0hp2uzBwVWjtGI5j62MrUJcc3rM3wOloc5wPMSSWddzKrkhndZbPFl87AqInJMpOw/AvY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706800006; c=relaxed/simple; bh=gV3rpgXyCLB5Os65qh8tufSawczRz8oU+Pr448CXlGg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Z3uFctfhF7y2LAVnvbIWkgSTbSdlUczgHvPF4TpsCrPuNPITEJE/UY8dpuF3mnx8IhsZJOwynPoluMHgVPAWm6Zj4MtiGOKsPdIiYLRgEXHYn3XbU+RVTuRUPRFp4NbEue9Q4FscOh6DJc8V1ZZdbOGHfRSJ8OpZHgmBhGO1jvE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=MCKAqLK0; arc=none smtp.client-ip=192.55.52.115 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1706800004; x=1738336004; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=gV3rpgXyCLB5Os65qh8tufSawczRz8oU+Pr448CXlGg=; b=MCKAqLK0RfwhPWd9iVsIcTGsaO9oEGvfEJA/Qv1Ox9Woim3mHqetGOWg pXcVwRX84lqROjYOyOFbLKwVu7eFvUYJT8D+24nV26eFn0hJZyuYSzZs1 pncEkN4OFqnnpgpKh0JkYMVI3Tqzyr4xR3Vay5lmY06C8GC2sztAMYBwi 4nHcOnwaGSXC0RtxRLWxuxUKIwpX/c+GVMYBXFFNRXSKrZ27GlXs1E/rQ r2ZGe655MHzYsCML/jKkCyBwwyoHroNtVlslUeQ3yZE7PDaQOP0rCJxFC PoG8pLaDsbBAkToJQ/EqElCUxn9jylUi843ocOcgfLvB2RV94SCFAf9a9 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10969"; a="403525475" X-IronPort-AV: E=Sophos;i="6.05,234,1701158400"; d="scan'208";a="403525475" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Feb 2024 07:06:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10969"; a="859168146" X-IronPort-AV: E=Sophos;i="6.05,234,1701158400"; d="scan'208";a="859168146" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga004.fm.intel.com with ESMTP; 01 Feb 2024 07:06:41 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id DD39EA23; Thu, 1 Feb 2024 16:49:52 +0200 (EET) From: Andy Shevchenko To: Andy Shevchenko , Daniel Thompson , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Lee Jones , Jingoo Han , Helge Deller Subject: [PATCH v2 0/4] backlight: hx8357: Clean up and make OF-independent Date: Thu, 1 Feb 2024 16:47:41 +0200 Message-ID: <20240201144951.294215-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit A few ad-hoc cleanups and one patch to make driver OF-independent. Chagelog v2: - renamed init to init_fn and typedef accordingly (Daniel) - added tags (Daniel, Javier) 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(-) -- 2.43.0.rc1.1.gbec44491f096