Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1203701pxb; Thu, 16 Sep 2021 02:03:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzI8BQxcNM1/Ri+UZGgme6DDsBzuCNDemIdam3ZX4z2DYH6o7R+BYgMqV5+D3GnLbf0K18/ X-Received: by 2002:a02:6a24:: with SMTP id l36mr3538095jac.24.1631783020625; Thu, 16 Sep 2021 02:03:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631783020; cv=none; d=google.com; s=arc-20160816; b=qFK2D8etCoG5v9QiSHAJYaBVpjtEF2ZCJj8GWgLQfpxOUT8QV2vEofelZednmETJhj pDZK/a7zc2X0yLiffo4/P3U+CgBFs+cDo/WeG68lPMT0MI7npsprt9/58USL9MTRkMTF 3jpOXKCvh0JrPBe59LyMHWajqQtUv/W+kfhnH4SyzOYvhgd/mHDrtGXEODf3M7CEHJqw qEBZ9jBWvN08pixXQnKXqfFrP50fQHIyRJphEIQ4FNnVNACjq7YJW4UmMzyBsfQleIDX rUjOApfzlHfU8aaRe8j2Kxc6cib8VX26yVArSjWjB8CySuut2BwZSy62TaRY5AMjmTbH g45g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=VPmTWOQ7LfSc2p5ZCnabqQWK7WIUpTzKTIVxq4gVZFU=; b=qyyG8z6JYSnWsPkhM8hPT20rp0GsEKakWz/J6/XqLTCRDMewEkqe8/hImcUbBAMrse N7qXWJZjTpDkAKsz7AdL4AWnPHQwwn+Eeindfzbiv0G4gWZ73V7CiQduQRv4Syimd4dx SUk5PfAbK7huD1lTIoKjAR9hIYeKl0wAyCpeFWFiHbf0N/GLMVgclCszC4EFqRLZFkqW ul04S7jUfuEwRwPaRTwyirRH9GeImmVMR8a4fEweZLsgVzmv6xjXGSjYQMDmYzQzMRLn QmwTMrl+AEDOufZML5QhcHqGz6rJaCPZ1EJLaCoC7rDJPUuiu8HcP7WnmPFotpkmtS7L wg/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LYYZJ7o6; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f26si2093056iog.53.2021.09.16.02.03.26; Thu, 16 Sep 2021 02:03:40 -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=@kernel.org header.s=k20201202 header.b=LYYZJ7o6; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236422AbhIPJCf (ORCPT + 99 others); Thu, 16 Sep 2021 05:02:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:36182 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235473AbhIPJBX (ORCPT ); Thu, 16 Sep 2021 05:01:23 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id F213361359; Thu, 16 Sep 2021 09:00:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631782803; bh=NvR0aGI4jVMzGyFJm0RPZ2nXSN3IomPG5411ayW0HtY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LYYZJ7o6cnp8dP8z6HDVJKzB4dNe+bHSUC2N087xXMhVH9ODMu/dQ2yI631kbdlXl mohghUtlu+MQ5EGBXKPxkoD+9qctf3eVdi2kOx4lSrUOeVvK54XOoRPlYNUHSMX78i /Ka+kxdBPxXuCQSzYZsAGlvFOcRL3ZnopW6GS4ZuQ9IwVeE1yEdYmFXeyf4DtGSAmZ NcYSNs9GlmRKCKCxLN5cXWkOclDT5udbi1A/1SxddSD+hyjAdkkaS7VSslGjX2FNnx B4N9jdD9GCI2r3aVr7kZe9faQIGUgDi7A91a1TZLtenoOvYKr+GT6f9W+fS/G4Jrkh s0di1AoAiFA5w== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mQnFR-001qkq-6q; Thu, 16 Sep 2021 11:00:01 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Greg Kroah-Hartman Cc: Mauro Carvalho Chehab , "Jonathan Corbet" , linux-kernel@vger.kernel.org Subject: [PATCH v3 20/30] ABI: sysfs-class-pwm: use wildcards on What definitions Date: Thu, 16 Sep 2021 10:59:47 +0200 Message-Id: X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org An "N" upper letter is not a wildcard, nor can easily be identified by script, specially since the USB sysfs define things like. bNumInterfaces. Use, instead, , in order to let script/get_abi.pl to convert it into a Regex. Signed-off-by: Mauro Carvalho Chehab --- Documentation/ABI/testing/sysfs-class-pwm | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Documentation/ABI/testing/sysfs-class-pwm b/Documentation/ABI/testing/sysfs-class-pwm index c20e61354561..3d65285bcd5f 100644 --- a/Documentation/ABI/testing/sysfs-class-pwm +++ b/Documentation/ABI/testing/sysfs-class-pwm @@ -7,7 +7,7 @@ Description: Framework and provides a sysfs interface for using PWM channels. -What: /sys/class/pwm/pwmchipN/ +What: /sys/class/pwm/pwmchip/ Date: May 2013 KernelVersion: 3.11 Contact: H Hartley Sweeten @@ -16,14 +16,14 @@ Description: probed PWM controller/chip where N is the base of the PWM chip. -What: /sys/class/pwm/pwmchipN/npwm +What: /sys/class/pwm/pwmchip/npwm Date: May 2013 KernelVersion: 3.11 Contact: H Hartley Sweeten Description: The number of PWM channels supported by the PWM chip. -What: /sys/class/pwm/pwmchipN/export +What: /sys/class/pwm/pwmchip/export Date: May 2013 KernelVersion: 3.11 Contact: H Hartley Sweeten @@ -31,14 +31,14 @@ Description: Exports a PWM channel from the PWM chip for sysfs control. Value is between 0 and /sys/class/pwm/pwmchipN/npwm - 1. -What: /sys/class/pwm/pwmchipN/unexport +What: /sys/class/pwm/pwmchip/unexport Date: May 2013 KernelVersion: 3.11 Contact: H Hartley Sweeten Description: Unexports a PWM channel. -What: /sys/class/pwm/pwmchipN/pwmX +What: /sys/class/pwm/pwmchip/pwmX Date: May 2013 KernelVersion: 3.11 Contact: H Hartley Sweeten @@ -47,21 +47,21 @@ Description: each exported PWM channel where X is the exported PWM channel number. -What: /sys/class/pwm/pwmchipN/pwmX/period +What: /sys/class/pwm/pwmchip/pwmX/period Date: May 2013 KernelVersion: 3.11 Contact: H Hartley Sweeten Description: Sets the PWM signal period in nanoseconds. -What: /sys/class/pwm/pwmchipN/pwmX/duty_cycle +What: /sys/class/pwm/pwmchip/pwmX/duty_cycle Date: May 2013 KernelVersion: 3.11 Contact: H Hartley Sweeten Description: Sets the PWM signal duty cycle in nanoseconds. -What: /sys/class/pwm/pwmchipN/pwmX/polarity +What: /sys/class/pwm/pwmchip/pwmX/polarity Date: May 2013 KernelVersion: 3.11 Contact: H Hartley Sweeten @@ -69,7 +69,7 @@ Description: Sets the output polarity of the PWM signal to "normal" or "inversed". -What: /sys/class/pwm/pwmchipN/pwmX/enable +What: /sys/class/pwm/pwmchip/pwmX/enable Date: May 2013 KernelVersion: 3.11 Contact: H Hartley Sweeten @@ -78,7 +78,7 @@ Description: 0 is disabled 1 is enabled -What: /sys/class/pwm/pwmchipN/pwmX/capture +What: /sys/class/pwm/pwmchip/pwmX/capture Date: June 2016 KernelVersion: 4.8 Contact: Lee Jones -- 2.31.1