linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kaushlendra Kumar <kaushlendra.kumar@intel.com>
To: rafael@kernel.org, rui.zhang@intel.com,
	srinivas.pandruvada@linux.intel.com, lenb@kernel.org
Cc: linux-acpi@vger.kernel.org,
	Kaushlendra Kumar <kaushlendra.kumar@intel.com>
Subject: [PATCH] ACPI / DPTF: Fix typo in current_discharge_capability_ma attribute name
Date: Mon,  6 Oct 2025 10:01:49 +0530	[thread overview]
Message-ID: <20251006043149.967725-1-kaushlendra.kumar@intel.com> (raw)

Fix typo "capbility" to "capability" in current_discharge_capability_ma
sysfs attribute name across all references. This corrects the spelling
in the DPTF_POWER_SHOW macro, DEVICE_ATTR_RO declaration, and attribute
array entry for consistent naming.

Signed-off-by: Kaushlendra Kumar <kaushlendra.kumar@intel.com>
---
 drivers/acpi/dptf/dptf_power.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/acpi/dptf/dptf_power.c b/drivers/acpi/dptf/dptf_power.c
index 776914f31b9e..a3b25d9065c2 100644
--- a/drivers/acpi/dptf/dptf_power.c
+++ b/drivers/acpi/dptf/dptf_power.c
@@ -48,7 +48,7 @@ DPTF_POWER_SHOW(rest_of_platform_power_mw, PROP)
 DPTF_POWER_SHOW(max_steady_state_power_mw, PBSS)
 DPTF_POWER_SHOW(high_freq_impedance_mohm, RBHF)
 DPTF_POWER_SHOW(no_load_voltage_mv, VBNL)
-DPTF_POWER_SHOW(current_discharge_capbility_ma, CMPP);
+DPTF_POWER_SHOW(current_discharge_capability_ma, CMPP);
 
 static DEVICE_ATTR_RO(max_platform_power_mw);
 static DEVICE_ATTR_RO(platform_power_source);
@@ -59,7 +59,7 @@ static DEVICE_ATTR_RO(rest_of_platform_power_mw);
 static DEVICE_ATTR_RO(max_steady_state_power_mw);
 static DEVICE_ATTR_RO(high_freq_impedance_mohm);
 static DEVICE_ATTR_RO(no_load_voltage_mv);
-static DEVICE_ATTR_RO(current_discharge_capbility_ma);
+static DEVICE_ATTR_RO(current_discharge_capability_ma);
 
 static ssize_t prochot_confirm_store(struct device *dev,
 				     struct device_attribute *attr,
@@ -102,7 +102,7 @@ static struct attribute *dptf_battery_attrs[] = {
 	&dev_attr_max_steady_state_power_mw.attr,
 	&dev_attr_high_freq_impedance_mohm.attr,
 	&dev_attr_no_load_voltage_mv.attr,
-	&dev_attr_current_discharge_capbility_ma.attr,
+	&dev_attr_current_discharge_capability_ma.attr,
 	NULL
 };
 
-- 
2.34.1


             reply	other threads:[~2025-10-06  4:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-06  4:31 Kaushlendra Kumar [this message]
2025-10-17 17:15 ` [PATCH] ACPI / DPTF: Fix typo in current_discharge_capability_ma attribute name srinivas pandruvada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251006043149.967725-1-kaushlendra.kumar@intel.com \
    --to=kaushlendra.kumar@intel.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=rafael@kernel.org \
    --cc=rui.zhang@intel.com \
    --cc=srinivas.pandruvada@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).