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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2CFDEC7618B for ; Mon, 13 Mar 2023 09:48:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230494AbjCMJsI (ORCPT ); Mon, 13 Mar 2023 05:48:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230280AbjCMJsF (ORCPT ); Mon, 13 Mar 2023 05:48:05 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED310D504 for ; Mon, 13 Mar 2023 02:48:02 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id bg16-20020a05600c3c9000b003eb34e21bdfso10484721wmb.0 for ; Mon, 13 Mar 2023 02:48:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678700881; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=fO9QX/weVED953xL0vn6RIJmflSaqBS+exrgijHj8oI=; b=b85l8WtrWPlHcTYMcC9XmvuPHxmv1YATlNgiwIEpU6zuBiAVQyWFjwj9/gnjIHRpd2 T7tomEtNXfmsUqRuciHXT/4gfRFgBhbHNQf8vrMQv7vKFCBTsLBjGkrVpPEHhuUmEiZ3 qgw9driJQRHzBt8/v7DKZHZqXizLbdXPspu2m/At76e5mbFFMvLUhgC3+4vaGhlbYDsJ DX+SLvi91f6DlxqbfM/2DgLKPr7UMCia1hIc7Q3bpmgL5DcFqDkZRlBIyIvCCqhU0Ziv Eklb3mVfbgSOZOmno1vofozalXoVYmalU86AMcJKW1S4i4SSeB3r61DUnfMcLG5JwiDf ziOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678700881; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=fO9QX/weVED953xL0vn6RIJmflSaqBS+exrgijHj8oI=; b=mulRdVoW40ZsMEN2TfIGZ7PtSsPR7XfW5RvEKuCDyc+1al188JVi3cXXQWUKOvP/Eu dAZvfb8f1CbwVh9Y27q8Ii7yEGv2v3/DOsjCC2oEXlFI3uDLi8s24pi8NnQbiLs69xvX 8cKLnIpv6x1ZxO2Zzt5YBpcESIDAjTjGdkK7o3L2/W9WOK7bpF3gp/wKXXcLvK0+VdUg bpYKuvje7lFdgRo8UGgk1R0V51kWx8/gqnWIX45KC6bmnR2JgcrPUTtX8ZpdmcXh8Djx PIBQHPwVwZktrSAxDVk+zXT+VmlFPNPb2ozZaYs7IANxSJst1MKjKdJLBhYFmFbEWWeH 8SUA== X-Gm-Message-State: AO0yUKXaJzfosggCarxr522fyYEwZYP7v7fTH6+bM8rOwwS3L8BX4jvU 5OZDowSq7cd+zgfMgOLK3IEs4Q== X-Google-Smtp-Source: AK7set/TwMkM6ahPLSMJJugMHuvHZmsV7Rsb041IebIpECvIRczfyVk1f5r4t2Z9zCTS/4XbIFxxQg== X-Received: by 2002:a05:600c:4f86:b0:3ed:29d9:56ae with SMTP id n6-20020a05600c4f8600b003ed29d956aemr191186wmq.6.1678700881411; Mon, 13 Mar 2023 02:48:01 -0700 (PDT) Received: from aspen.lan (cpc141216-aztw34-2-0-cust174.18-1.cable.virginm.net. [80.7.220.175]) by smtp.gmail.com with ESMTPSA id r16-20020a05600c2f1000b003ed29189777sm980898wmn.47.2023.03.13.02.48.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 02:48:01 -0700 (PDT) Date: Mon, 13 Mar 2023 09:47:59 +0000 From: Daniel Thompson To: Rob Herring Cc: Lee Jones , Jingoo Han , Helge Deller , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] backlight: as3711: Use of_property_read_bool() for boolean properties Message-ID: <20230313094759.GB55049@aspen.lan> References: <20230310144731.1546190-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230310144731.1546190-1-robh@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 10, 2023 at 08:47:31AM -0600, Rob Herring wrote: > It is preferred to use typed property access functions (i.e. > of_property_read_ functions) rather than low-level > of_get_property/of_find_property functions for reading properties. > Convert reading boolean properties to to of_property_read_bool(). > > Signed-off-by: Rob Herring Reviewed-by: Daniel Thompson