Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp735715pxb; Tue, 14 Sep 2021 07:40:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9NmYS7lUKCDugQMlGDEyl9ws5BmpiO7ikz+/AXYdcL0qoblGhvvyIAMDum8QfyKJzlslM X-Received: by 2002:a05:6000:1569:: with SMTP id 9mr19541213wrz.242.1631630445633; Tue, 14 Sep 2021 07:40:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631630445; cv=none; d=google.com; s=arc-20160816; b=Rh5iNvSiltcN+ttXKexCClLGXUftZcoeE450Ti2yylWF5TjLejf5wiIosv6aFWxTD7 ukkJdRGakKIclLypXEySUDs57ca2aE+dZrqvxL/jRO64RsKCrVeOatSxiwzS+EZWOhxw 0wL9ELMTgEuwNbpy80dbCt6k6ytW54G14jipaSYr7V9hv2yAiT6fryAX/+yzB2qra305 LCOB5ydVzC2/libTAmmjz6ks4J0/0GmO4mlWf2Exn41ieYT04agTEJ8Q0eygkqHFEO61 jCV7jXGfx/N71HXxOj2qSk4hS3RwB1Nz01aPO53Jfuz/IAr8QRh/0hMDXd0Q6Wyhfd/O IB/w== 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=omcdBT/7Bm2d6UPl1RFJTufA3KkuqNkEeZPuirmUkkIkucFOvaiV6Hi77J1VxzmrRM bJd0C4wZjiQ1WIEeSnLqiR1A5lBMcG/l9o+loX4STYlH4EYI8iSy1olFF826aydPe2Cj ppy7Qnat1hGu52ohioPr+mDyFrxVzxrsUyzlbngq9okyRt8+5mJQ4gAOtLslLwbRYEOJ Rr1t45U6/7s8lB1dUqqPFoL1ZyB+RVJNvkBCSiqZ6SLVu5VBjIlbk9v4IqgA5AVbtHcn E5K5pDABOYH81dvwZqJDjI1jDgPGKc6C265g30tNuiDOvhc029c9yFK+uP8Y144UmiEw WlJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RqmG+at+; 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 d10si5568885edm.434.2021.09.14.07.40.20; Tue, 14 Sep 2021 07:40:45 -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=RqmG+at+; 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 S234264AbhINOhI (ORCPT + 99 others); Tue, 14 Sep 2021 10:37:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:57594 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233872AbhINOeJ (ORCPT ); Tue, 14 Sep 2021 10:34:09 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A5D4661166; Tue, 14 Sep 2021 14:32:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631629970; bh=NvR0aGI4jVMzGyFJm0RPZ2nXSN3IomPG5411ayW0HtY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RqmG+at+f9j/4FfDHZiGZyMIzV2/te6MXiKCXRJMEnbfXDqwHDEVx2ECqLZHJEmCN SNh8jTti72TFS76+Iiv/KRPXdwiKcDuvdF0GnYDSm+t0ZoeT/mf8/3c2E0lb1K2eR0 +DUB53lqTk1+SsMMV2IVxDnRXNqUMrkRMgswjwWRzZ2disamI71OA0wDX4CMoNAquc NAfgBU3qyyZYmMVTjMMvOgqLb3H64VQYkbKWlZ4H66CIPTUUJRli+Bpqg+jLuvesvu lLGRx8oVN/vS9qNsQQbcXmyp3u6sXoheA3r7hMzxC2k/0clQ079+DSpWvX0uH5Je6S FjcRwEP3XzzRA== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mQ9UO-000KlU-8M; Tue, 14 Sep 2021 16:32:48 +0200 From: Mauro Carvalho Chehab To: Greg Kroah-Hartman , Linux Doc Mailing List Cc: Mauro Carvalho Chehab , "Jonathan Corbet" , linux-kernel@vger.kernel.org Subject: [PATCH v2 20/29] ABI: sysfs-class-pwm: use wildcards on What definitions Date: Tue, 14 Sep 2021 16:32:35 +0200 Message-Id: <1838d8fb149170f6c19feda0645d6c3157f46f4f.1631629496.git.mchehab+huawei@kernel.org> 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