Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2155338pxb; Mon, 8 Mar 2021 16:09:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJxiHVq2Aj3AHawRr/vHNviXhX9QtwcOoshxGWwzekqdgGoxWsBaUTPXHEcj20nQTtHCSnms X-Received: by 2002:a17:906:753:: with SMTP id z19mr17562602ejb.447.1615248589273; Mon, 08 Mar 2021 16:09:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615248589; cv=none; d=google.com; s=arc-20160816; b=rBWpqK5CPX9/NEd+3f2iSla/SIfT0WFbKDI9+9c4MOa9S4pHqvQ2bYXIm4TL/KAgcI 2pMAeK0Duo8UuX36baPO1qxXcBgQ2hRdX3BQCpaNtHlSJ38BQ2AjqnBR/uU0Lln6yiTp ITVSDsulsbAUWr6EepV6YK9T+lnEmXftJ5UH0si67SMUhpNypgVDhymfgL3gzWdz3Ci0 qk+InJAravjAzpEekZjiMQAZMXxlw5dIlTfkwqc/IS0VoRnUPgn7eCjkf63KL5O+m6hA 6T6WehHGgXc9wbD+IhCznHLI8k61Rvrsty4+6umGNij20HR5QOT1wsjw9Qk9YWQ5Xlm6 SuGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature:dkim-filter; bh=aro/K9hGsiCfNpWwbsTPq5Uhfyxfv2ugmYxqzUxcpGE=; b=zDoQXBlXAokU1LrGAUcpKjrCnnDJN1+ih5vZsKCYTFhxCws8tABbSgCOgmo5zCNFew ECdL1PR12H8j0Cjh3LIBhAHG4m9gHpx1jmdyahRmQqOseJPVVOyeQvfIwi/IfGJEdBGu jHBXYL9Hdof+tWGH8IR6IxMWvL9k086oMxZA1IGFsOpgQ3XdI51jcbnuKhSE9c/OxdDG texXyznor9dxUfFrbP+m2eXEyPMrvcuUAXJqtdrz7fEGE4xlddktBuAFfmu1dQpqQKX2 LQip5bH3U+SZYK2mVJDS8vtUgvb1GfPJPT1Tth2bJhfAD8sANBXmzGKrblHF1DgKCWp4 67Mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b="F2/984U5"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m20si7474129ejc.530.2021.03.08.16.09.25; Mon, 08 Mar 2021 16:09:49 -0800 (PST) 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=@lwn.net header.s=20201203 header.b="F2/984U5"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230327AbhCIAHo (ORCPT + 99 others); Mon, 8 Mar 2021 19:07:44 -0500 Received: from ms.lwn.net ([45.79.88.28]:39968 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229775AbhCIAHU (ORCPT ); Mon, 8 Mar 2021 19:07:20 -0500 Received: from localhost (unknown [IPv6:2601:281:8300:104d::5f6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 1738B31A; Tue, 9 Mar 2021 00:07:20 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 1738B31A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1615248440; bh=aro/K9hGsiCfNpWwbsTPq5Uhfyxfv2ugmYxqzUxcpGE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=F2/984U5gJBHF3KshQD/dKQePRGRNGhVzKbSBdk08QrVaHW/qrEAHxocNXdtyK39e Ibl5SPY2qTkGIHYL2XKYxbbHKQFPiaUd4d+XLjg6mO+tmXx/3IdI+3aRt/+1HN47Jj Yep7u7z8Sc/hX0CTrq6b6zG1RTU4xC//mnEtVYoeeWiAz/hBqdiwVdzR1pRBHPjC7E fUtP5npR1vEFZ4KtVNYl/mx+9JXmTB3UXeLmdcV1+eYHysftByXUB4x1kfDxrYwtIC d5QeZCZ1hh/w2lQHWmHFiF/3BC3/ATfPWCESFuPJBMvnLHsgj5vgk+C/aeidPrWiZq gbT7fF/yCPsdA== From: Jonathan Corbet To: Geert Uytterhoeven , Greg Kroah-Hartman , "Rafael J . Wysocki" Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: Re: [PATCH 0/2] docs: driver-model: device: Add helper macro examples In-Reply-To: <20210303133845.3939403-1-geert+renesas@glider.be> References: <20210303133845.3939403-1-geert+renesas@glider.be> Date: Mon, 08 Mar 2021 17:07:19 -0700 Message-ID: <87lfax5gw8.fsf@meer.lwn.net> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Geert Uytterhoeven writes: > Hi Jon, Greg, Rafael, > > The DEVICE_ATTR_* and ATTRIBUTE_GROUPS() helper macros have existed for > more than a decade, but are still not mentioned in the driver-model > device documentation. Hence this patch series adds them, including > examples, to the documentation. > > Thanks for your comments! > > Geert Uytterhoeven (2): > docs: driver-model: device: Add DEVICE_ATTR_{RO,RW} examples > docs: driver-model: device: Add ATTRIBUTE_GROUPS() example > > .../driver-api/driver-model/device.rst | 23 ++++++++++++++----- > 1 file changed, 17 insertions(+), 6 deletions(-) Set applied, thanks. jon