From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 78AAC5F49E for ; Tue, 20 Feb 2024 09:24:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708421095; cv=none; b=EBk05EQEsXWl42cmI4jOSmvU4mlM/MdoGOoZbk2OOM9hTbWUMZjsfRAkw1i8DVdSEgAhrQQhje24qw9HTvFcBH294oOIveNP+wKR+EsV5flaBCnd7lgwgV/h7ob11bkqYJQ8GAO3ZE8pJzSE2VbTXp/ckF9nnz3OBSBrnzsw2vc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708421095; c=relaxed/simple; bh=udKLWycwu+hf+6x5oFlyNQr/LkDvsWZpDbgX4ydJdKQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=DEiF6UJgcHBHw/8eAcy2TCPkAnJ6t9qKzRR7Y3Wm2hvoeF0yFy0FB4zP+jLGwj2yjZ1IJhHlJwuRXLjL/Mpa7fD7Pc4QloIX/mJCK4pYB+nIW2feRK+jEy2BBXO27iisFkUf82EbX9S6Tjdgc8lS3qafwtfdFV2NiM3gm0iCT2E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=LfOgC1db; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="LfOgC1db" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1708421093; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xshxlpsQluS7qRAd7fMDdSOWA/KW0tH/DDlQJBA+rDs=; b=LfOgC1db1K56AHho9mtA2Iu4ukPRa2JNkgGVuSdurkqFtR/6vUhlGWe+Fe/OlhmbFsW7GR btNFIlf9QOrOsRW9vePM1V0EhhFbgydoq9mafvKa5z0DN1l0VimewPLI1wwZrsLZCS78JL 7eNIamfMEWQy06CfTeYv7tJMjFaOZ2c= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-538-oxnC__enOY-E-yF2mF9WaQ-1; Tue, 20 Feb 2024 04:24:51 -0500 X-MC-Unique: oxnC__enOY-E-yF2mF9WaQ-1 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-411db41915bso28784855e9.0 for ; Tue, 20 Feb 2024 01:24:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708421090; x=1709025890; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xshxlpsQluS7qRAd7fMDdSOWA/KW0tH/DDlQJBA+rDs=; b=EW5yv8hIgXYJU1x2VqIjH9hVO+8NVmnjUN0SKj/eF7/zRR6U+pavtdWpY4pbottMwC WjGHFgqUuzOuSNWOkdHrBcIVE8IoYNjUyFws3TKIbch7YakfuKGTquMfo0l2s9/YvJgR SNED0KAImfvT6dBpFRYSNhhJ6S1JsmMdoKFlqnRQ+2RbVVK/VXHWInLIUHUN/CMsE4uO CzF2JWQtRuVEmz/3nC3erV2aoL1TkkjwL1/wwWADaGuheB3jPWdbWjlnpqTslQS6qbPb uzGQI52M2I5IRn7yxUBCqD6QAcE9vOXYi6U843FAMaP2vuqAQ1kJbw+ySnSq4tSJLFLQ Zk6A== X-Forwarded-Encrypted: i=1; AJvYcCUWFJuntSCc+f4drtjBsi2MDKvtUUJyNsfDdWoDBHOsjR52hGsZ/I0gxxW+OkuLtZZQtnyoXEzj1r95xwnI8xHyCIKhfRm2rN58024= X-Gm-Message-State: AOJu0YygmefRJlssppn+Dy2iJsZ+xzxgmtKKhXJqpot9j9a7qJPvjesr HsbQC4dFu/5MZUhXxprw8fZi9/AzrkR9ywmqqwUMX0KoLbEiuWQBiQ52Pjl/ImHsTR0wkTl4DIQ MjtDLGWszEm37MHs7olycEw6fKI38z6Ive+1ua6nWoG8xa65ipnxKcbhX8XNq X-Received: by 2002:a05:600c:1d26:b0:40f:de6a:2a27 with SMTP id l38-20020a05600c1d2600b0040fde6a2a27mr7454598wms.40.1708421090416; Tue, 20 Feb 2024 01:24:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IHkPjh10xOQRjnJMuYej9HPk/BhMMWKcIszDd75k/eW3ji67ZhUwGUtMHTKJ5oYHxYrfH7Zng== X-Received: by 2002:a05:600c:1d26:b0:40f:de6a:2a27 with SMTP id l38-20020a05600c1d2600b0040fde6a2a27mr7454582wms.40.1708421090135; Tue, 20 Feb 2024 01:24:50 -0800 (PST) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id y10-20020a1c4b0a000000b00412704a0e4asm779017wma.2.2024.02.20.01.24.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 01:24:49 -0800 (PST) From: Javier Martinez Canillas To: Thomas Zimmermann , lee@kernel.org, daniel.thompson@linaro.org, jingoohan1@gmail.com, deller@gmx.de Cc: dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-input@vger.kernel.org, linux-pwm@vger.kernel.org, Thomas Zimmermann , Bruno =?utf-8?Q?Pr=C3=A9mont?= Subject: Re: [PATCH 04/10] hid/hid-picolcd: Remove struct backlight_ops.check_fb In-Reply-To: <20240212162645.5661-5-tzimmermann@suse.de> References: <20240212162645.5661-1-tzimmermann@suse.de> <20240212162645.5661-5-tzimmermann@suse.de> Date: Tue, 20 Feb 2024 10:24:49 +0100 Message-ID: <8734tnjxni.fsf@minerva.mail-host-address-is-not-set> Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Thomas Zimmermann writes: > The driver sets struct fb_info.bl_dev to the correct backlight > device. Thus rely on the backlight core code to match backlight > and framebuffer devices, and remove the extra check_fb function > from struct backlight_ops. > > Signed-off-by: Thomas Zimmermann > Cc: "Bruno Pr=C3=A9mont" > --- [...] > +#ifdef CONFIG_HID_PICOLCD_BACKLIGHT > + info->bl_dev =3D data->backlight; > +#endif > + The robot complains about this, I think that you also need to guard against CONFIG_FB_BACKLIGHT being defined. Alternatively, you could include a preparatory patch to fix the HID_PICOLCD_BACKLIGHT config symbol dependencies. Other than that, Reviewed-by: Javier Martinez Canillas --=20 Best regards, Javier Martinez Canillas Core Platforms Red Hat