Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4169296pxb; Tue, 2 Nov 2021 05:26:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQj7u45tHedu5aLC4dHNmRJ5RRrtmK8R/4E3Z8EKW43/yMGwbtPwqt74SrAJyWy7FUPcD0 X-Received: by 2002:a05:6e02:1c23:: with SMTP id m3mr12809655ilh.12.1635855978498; Tue, 02 Nov 2021 05:26:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635855978; cv=none; d=google.com; s=arc-20160816; b=GainxtA0SK8cg+rf36jxModcMQbcsFJkLJ4nVCGLQjn5ObIZr9spzf9qCcSTWeCBev Vg5Rat9qk+s9GcoAJ7B1GWHfEH+VNT3B1xmJFjapoKNGAGDXnUTAOOPan5ahAS7dpnaQ cxBHWcVhaKSEwCrzCMctj3X/+Mnj3o/VGTQgW0klGFti65uTrDYzE9YAjtWEG8uiNJRa xPHY7Qpt+nBSXAB06N4ccN17efTWcyghUXupusHXLdA2rFat0USnugNaon4NZbgvcCpP 7XOGdGMghbo0m3am//+2mew7uK1UomRSn5bJORst45x8JLe95SP/tLnAap7f4+Sehzjb 6DSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=RG4XcfFl99SNeOBcyKQqC0Bs57QgpcfzeSgdEVPV+9Y=; b=AVHPu3N6+BByKRaulasKEnh0mEFJ5jOlWTDxWuco4IGCg5KZX9KaTQWpmggjt8rlk9 j79lSuAQSnRLR287kErtVXo8KXMt3OPRIcGWYuVXTxhcDigkaTNTZGi7O7T2cusHFB/s ZQv4b9ypXmUohwys2RUOeVaVMHHr3wKSySRfghVU79WmZKT1TcXUKzh0RBM6V7sJ522A kQOGke6/71hXXegcaHasUw1V/5dgIGawImtaR9cPgwZdc3gJ6s004F/KCYrQucLx1to9 kA4qC1d8o7e0vmV8lSNhDxI63FQ8KJXjBl5x3JYkGBncBGZq69/T3Ete98L0Zx1vGD1L GAGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mXwkh6J0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o6si12616554iow.93.2021.11.02.05.26.07; Tue, 02 Nov 2021 05:26:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mXwkh6J0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230305AbhKBM0O (ORCPT + 99 others); Tue, 2 Nov 2021 08:26:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231161AbhKBM0N (ORCPT ); Tue, 2 Nov 2021 08:26:13 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05C7DC061766 for ; Tue, 2 Nov 2021 05:23:36 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id y196so6247956wmc.3 for ; Tue, 02 Nov 2021 05:23:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=RG4XcfFl99SNeOBcyKQqC0Bs57QgpcfzeSgdEVPV+9Y=; b=mXwkh6J03uhB0jI3X/g34Yn8qJcznjAuxyRXzam4PahlNmGvY4U+jVYqX1FYtByfhc dN2+I2a6nIy6n884Vpz17p0FkYssBNKjblOSwI0mG1r9Xbuqs7kuOh5EjwqAlzHhNsnp S7+6QtUdjAaGXJFZuAuKtsOsDjhRvcqVT7AeEQQlyNTZXH5687WEB9JbrLZ+2USq8pEW ZDBEctXEkV21IK08rd/dGQvvFa6j5dS24pkXLhdav/DQFfXJNpqPh0j61oFu5Xsfk//q kB6hGiKYEkzKlVI69+tlka+TrivhXGFGDVNNtdnfR8tV7J79IePTogU7bhBiI/FdahRy Kayg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=RG4XcfFl99SNeOBcyKQqC0Bs57QgpcfzeSgdEVPV+9Y=; b=0C+cCutFpTO0yv4AFe5vpVAfxyB/vlirnxxxCrl4rkTcOtdzx+v6KFcieKhZd2WrSC wXQJvKzHGQihMWRrEqsnTTq202IG/9RWpz0gTFxiPfHtOkkvLZ5cEKSRFBW2X6bKglRB P8OiBZhRSXC0DKwOcR42F78/jMwF2h1qz7sYIiGf2xqad3FIEUAJXzKCn8nz1hAiTIp+ kfmovgOxDMfW8LqbV+tJvzSJ+kqhDswEgmyscBJUBTql+De/i4X6s2PEA8NI92WoJ9nd QN9A/SGozEsrlfAQ3IIal8l/UZ9sdK1AWML3aAnLqy8fmsq3K8+yQv26HBFsIbseER8C Zfbg== X-Gm-Message-State: AOAM533JCTtEYJxQpHbiia074GchwWDACCI97/9ScWE0Ae04xnLEP7S0 lDvJUPYTCV2wIZuEXgCjZv1DsWyC9SmwqaaH X-Received: by 2002:a05:600c:1:: with SMTP id g1mr6509614wmc.19.1635855814619; Tue, 02 Nov 2021 05:23:34 -0700 (PDT) Received: from maple.lan (cpc141216-aztw34-2-0-cust174.18-1.cable.virginm.net. [80.7.220.175]) by smtp.gmail.com with ESMTPSA id m35sm3061260wms.2.2021.11.02.05.23.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Nov 2021 05:23:34 -0700 (PDT) Date: Tue, 2 Nov 2021 12:23:31 +0000 From: Daniel Thompson To: Hans de Goede Cc: Lee Jones , Jingoo Han , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] backlight: lp855x: Add dev helper variable to lp855x_probe() Message-ID: <20211102122331.2dzhskz26ean74oq@maple.lan> References: <20211101185518.306728-1-hdegoede@redhat.com> <20211101185518.306728-2-hdegoede@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211101185518.306728-2-hdegoede@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 01, 2021 at 07:55:16PM +0100, Hans de Goede wrote: > Add a dev local variable to the lp855x_probe(), to replace "&cl->dev" > and "lp->dev" in various places. > > Also switch to dev_err_probe() in one case which takes care of not > printing -EPROBE_DEFER errors for us. > > This is mostly a preparation for adding ACPI enumeration support which > will use the new "dev" variable more. > > Signed-off-by: Hans de Goede Reviewed-by: Daniel Thompson Daniel.