From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7CE143CAA27 for ; Wed, 13 May 2026 22:06:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778709987; cv=none; b=Iious8fsxpubxkmOOTbyb7txDCPPd8e1GzuoU+VEgu7zq/9fAxX7zhZeu/5oOvR/ggW5ga4XE+vuLzOpdkdri5nI+rvzcxhXseveNAX6TLDLdSHZiVoeZUqkOheUdxysA2FRmlsHlDu2lUVJfOYTGIhjBdCu3+NX721uRuoTmVs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778709987; c=relaxed/simple; bh=aypZKKjvcPmpCB1rpqY2dY/Xd0+ry5FJdh0GPl29TGI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OB3B5GUojViRiAkYDUxQKbIOole2CfRmBm9idGhBqJ2WKSTs/O9s6eUdMkXhZm2ZJPSF/ASZzUBicqbIeom3j2a3kfVl2YPVjKEjyj7yTW4DaivMvVw2/9NMHijAFXMpko0ZV8EH2CUYPOP2O9ziqiY/zRlNBoBQh4kvBJrnqKU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=h6o1rZuK; arc=none smtp.client-ip=198.175.65.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="h6o1rZuK" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1778709986; x=1810245986; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=aypZKKjvcPmpCB1rpqY2dY/Xd0+ry5FJdh0GPl29TGI=; b=h6o1rZuK0jSjNgLgTCJjrMBL/dQxe24qhMRI9XQG57xuwNGTVEtO9hFz sU/3VKchVoANb9Xzc68w4dQ3CpthwfU55VXY7NXOcrCZHo5qUMXEaFU/9 OzXM5GY62l/XGRbnBQDqo6MSBP7GTnSM5BGQESYNxZRfGYpag6psj+hIC 51d37C+gewvqJgucY+iqEEbvD4ne6jxWITzBXXLcRYd40b4K1+inQlSNl MuuwMkp1DT776ifoOKzL2HVsam0386iX3V1SKh+sp2olC9dsiOccEQfEE OfdBbEUAbt5vFuqPG4fTcDY5/rWdLOXdZ9YmYGhraR7HZ70jE5rV03nr2 g==; X-CSE-ConnectionGUID: sZEf7ltaQXaZgRBRED+4+g== X-CSE-MsgGUID: KzPWh/zmTpugbvOg8kM0tQ== X-IronPort-AV: E=McAfee;i="6800,10657,11785"; a="79600942" X-IronPort-AV: E=Sophos;i="6.23,233,1770624000"; d="scan'208";a="79600942" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 May 2026 15:06:26 -0700 X-CSE-ConnectionGUID: A6oYdQTISHq/+vCsfikWOQ== X-CSE-MsgGUID: AUXf98bfSv6+hdiLoCwF2w== X-ExtLoop1: 1 Received: from black.igk.intel.com ([10.91.253.5]) by fmviesa003.fm.intel.com with ESMTP; 13 May 2026 15:06:24 -0700 Received: by black.igk.intel.com (Postfix, from userid 1003) id DFFF195; Thu, 14 May 2026 00:06:23 +0200 (CEST) From: Andy Shevchenko To: Andy Shevchenko , linux-kernel@vger.kernel.org Cc: Lee Jones Subject: [resend, PATCH v2 1/1] leds: Adjust documentation of brightness sysfs node Date: Thu, 14 May 2026 00:05:24 +0200 Message-ID: <20260513220620.369825-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.50.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Adjust documentation of brightness sysfs node about accepted value range. The code accepts only decimal values. We may not relax that due to different readings for, e.g., octal 0100, which becomes 64 instead of currently parsed 100. Signed-off-by: Andy Shevchenko --- resend, v2: made sure Lee is in Cc list (Lee) v2: rephrased the sentence to make it clearer (Lee) Documentation/ABI/testing/sysfs-class-led | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/ABI/testing/sysfs-class-led b/Documentation/ABI/testing/sysfs-class-led index 0313b82644f2..d4c918cc11a1 100644 --- a/Documentation/ABI/testing/sysfs-class-led +++ b/Documentation/ABI/testing/sysfs-class-led @@ -22,8 +22,8 @@ Description: For additional details please refer to Documentation/leds/leds-class-multicolor.rst. - The value is between 0 and - /sys/class/leds//max_brightness. + The value is between 0 and /sys/class/leds//max_brightness + and is represented by as a decimal. Writing 0 to this file clears active trigger. -- 2.50.1