From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Torokhov Subject: Re: [PATCH v1] Input: docs - use PROPERTY_ENTRY_U32() directly Date: Mon, 22 Jan 2018 09:28:33 -0800 Message-ID: <20180122172833.hvfg2qcnpzscbymm@dtor-ws> References: <20180122125457.6226-1-andriy.shevchenko@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pf0-f194.google.com ([209.85.192.194]:42274 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751028AbeAVR2h (ORCPT ); Mon, 22 Jan 2018 12:28:37 -0500 Content-Disposition: inline In-Reply-To: <20180122125457.6226-1-andriy.shevchenko@linux.intel.com> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Andy Shevchenko Cc: linux-input@vger.kernel.org, linux-doc@vger.kernel.org, Jonathan Corbet On Mon, Jan 22, 2018 at 02:54:57PM +0200, Andy Shevchenko wrote: > Instead of using PROPERTY_ENTRY_INTEGER() with explicitly supplied type, > use PROPERTY_ENTRY_U32() dedicated macro. > > It will help modify internals of built-in device properties API. > > No functional change intended. > > Signed-off-by: Andy Shevchenko Applied, thank you. > --- > Documentation/input/devices/rotary-encoder.rst | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/Documentation/input/devices/rotary-encoder.rst b/Documentation/input/devices/rotary-encoder.rst > index b07b20a295ac..810ae02bdaa0 100644 > --- a/Documentation/input/devices/rotary-encoder.rst > +++ b/Documentation/input/devices/rotary-encoder.rst > @@ -108,9 +108,9 @@ example below: > }; > > static const struct property_entry rotary_encoder_properties[] __initconst = { > - PROPERTY_ENTRY_INTEGER("rotary-encoder,steps-per-period", u32, 24), > - PROPERTY_ENTRY_INTEGER("linux,axis", u32, ABS_X), > - PROPERTY_ENTRY_INTEGER("rotary-encoder,relative_axis", u32, 0), > + PROPERTY_ENTRY_U32("rotary-encoder,steps-per-period", 24), > + PROPERTY_ENTRY_U32("linux,axis", ABS_X), > + PROPERTY_ENTRY_U32("rotary-encoder,relative_axis", 0), > { }, > }; > > -- > 2.15.1 > -- Dmitry