From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 32358C433B4 for ; Wed, 19 May 2021 08:52:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 17D396044F for ; Wed, 19 May 2021 08:52:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344247AbhESIxc (ORCPT ); Wed, 19 May 2021 04:53:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:60324 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343835AbhESIxL (ORCPT ); Wed, 19 May 2021 04:53:11 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7933B613AF; Wed, 19 May 2021 08:51:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1621414311; bh=NlLcWXrsPCb7tI/gIFVfQEynar9Mia2SzKwequY2ueU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uQoU5ZGEuvW/WJFlzl/H1AqcEsC+CJn/Y5FvFnponFCCdKqHNzRcE/LVnbnEtyqqg FE5/DfRx+V2LZrW0jPBGWQ3ieqyZyahOC6mT0CWaO0q7YvK4YP/0edcLODl3lM5Cxh cGT09gNfEduYBrSA/ByISUgEqjSg2tJLNIf2sm78eGTuJhIDC7gvsE9CnvsKW40EaL Vy4PtIofTMGxThEHORCHbdHSsRbXY0ONWQUeScFV/VUK/yScSn00++0QDdF7OTez1r 3M5CwhNIPv2yNEI1JWWQR3IVAp/pEMseud1a0/931NqEoeTsK1dkZyxtDgvEgIicwW vttZemfc2aT8g== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1ljHvh-007gYU-O0; Wed, 19 May 2021 10:51:49 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Jonathan Corbet Cc: Mauro Carvalho Chehab , Greg Kroah-Hartman , Jonathan Cameron , Suzuki K Poulose , linux-kernel@vger.kernel.org Subject: [PATCH 09/10] docs: ABI: sysfs-class-led-trigger-pattern: remove repeat duplication Date: Wed, 19 May 2021 10:51:46 +0200 Message-Id: <394580bd2e007ffb640f97212973a772ed8f0409.1621413933.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 As reported by scripts/get_abi.pl: Warning: /sys/class/leds//repeat is defined 2 times: Documentation/ABI/testing/sysfs-class-led-driver-el15203000:0 Documentation/ABI/testing/sysfs-class-led-trigger-pattern:28 The definition for the EL15203000 is just a special case of the sysfs led class. So, drop it and mentions the possible exception at the class definition. Signed-off-by: Mauro Carvalho Chehab --- .../ABI/testing/sysfs-class-led-driver-el15203000 | 9 --------- .../ABI/testing/sysfs-class-led-trigger-pattern | 3 +++ 2 files changed, 3 insertions(+), 9 deletions(-) delete mode 100644 Documentation/ABI/testing/sysfs-class-led-driver-el15203000 diff --git a/Documentation/ABI/testing/sysfs-class-led-driver-el15203000 b/Documentation/ABI/testing/sysfs-class-led-driver-el15203000 deleted file mode 100644 index 04f3ffdc5936..000000000000 --- a/Documentation/ABI/testing/sysfs-class-led-driver-el15203000 +++ /dev/null @@ -1,9 +0,0 @@ -What: /sys/class/leds//repeat -Date: September 2019 -KernelVersion: 5.5 -Description: - EL15203000 supports only indefinitely patterns, - so this file should always store -1. - - For more info, please see: - Documentation/ABI/testing/sysfs-class-led-trigger-pattern diff --git a/Documentation/ABI/testing/sysfs-class-led-trigger-pattern b/Documentation/ABI/testing/sysfs-class-led-trigger-pattern index d91a07767adf..8c57d2780554 100644 --- a/Documentation/ABI/testing/sysfs-class-led-trigger-pattern +++ b/Documentation/ABI/testing/sysfs-class-led-trigger-pattern @@ -35,3 +35,6 @@ Description: This file will always return the originally written repeat number. + + It should be noticed that some leds, like EL15203000 may + only support indefinitely patterns, so they always store -1. -- 2.31.1