linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] scsi: ufs: Fix a typo in ufs-sysfs.c
       [not found] <CGME20210427073842epcms2p1efa82e558171ad06c9398ea7c364e7dc@epcms2p1>
@ 2021-04-27  7:38 ` Keoseong Park
  2021-04-29  3:18   ` Martin K. Petersen
  0 siblings, 1 reply; 2+ messages in thread
From: Keoseong Park @ 2021-04-27  7:38 UTC (permalink / raw)
  To: ALIM AKHTAR, avri.altman, jejb, martin.petersen, stanley.chu,
	cang, asutoshd, beanhuo, huyue2, jaegeuk, Keoseong Park,
	linux-scsi, linux-kernel
  Cc: Daejun Park, Sung-Jun Park, Jinyoung CHOI

Change 'ufschd' to 'ufshcd'.

Fix the following typo:

 ufschd_uic_link_state_to_string() -> ufshcd_uic_link_state_to_string()
 ufschd_ufs_dev_pwr_mode_to_string() -> ufshcd_ufs_dev_pwr_mode_to_string()

Signed-off-by: Keoseong Park <keosung.park@samsung.com>
---
 drivers/scsi/ufs/ufs-sysfs.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/scsi/ufs/ufs-sysfs.c b/drivers/scsi/ufs/ufs-sysfs.c
index d7c3cff9662f..5d0e98a05ada 100644
--- a/drivers/scsi/ufs/ufs-sysfs.c
+++ b/drivers/scsi/ufs/ufs-sysfs.c
@@ -9,7 +9,7 @@
 #include "ufs.h"
 #include "ufs-sysfs.h"
 
-static const char *ufschd_uic_link_state_to_string(
+static const char *ufshcd_uic_link_state_to_string(
 			enum uic_link_state state)
 {
 	switch (state) {
@@ -21,7 +21,7 @@ static const char *ufschd_uic_link_state_to_string(
 	}
 }
 
-static const char *ufschd_ufs_dev_pwr_mode_to_string(
+static const char *ufshcd_ufs_dev_pwr_mode_to_string(
 			enum ufs_dev_pwr_mode state)
 {
 	switch (state) {
@@ -81,7 +81,7 @@ static ssize_t rpm_target_dev_state_show(struct device *dev,
 {
 	struct ufs_hba *hba = dev_get_drvdata(dev);
 
-	return sysfs_emit(buf, "%s\n", ufschd_ufs_dev_pwr_mode_to_string(
+	return sysfs_emit(buf, "%s\n", ufshcd_ufs_dev_pwr_mode_to_string(
 			ufs_pm_lvl_states[hba->rpm_lvl].dev_state));
 }
 
@@ -90,7 +90,7 @@ static ssize_t rpm_target_link_state_show(struct device *dev,
 {
 	struct ufs_hba *hba = dev_get_drvdata(dev);
 
-	return sysfs_emit(buf, "%s\n", ufschd_uic_link_state_to_string(
+	return sysfs_emit(buf, "%s\n", ufshcd_uic_link_state_to_string(
 			ufs_pm_lvl_states[hba->rpm_lvl].link_state));
 }
 
@@ -113,7 +113,7 @@ static ssize_t spm_target_dev_state_show(struct device *dev,
 {
 	struct ufs_hba *hba = dev_get_drvdata(dev);
 
-	return sysfs_emit(buf, "%s\n", ufschd_ufs_dev_pwr_mode_to_string(
+	return sysfs_emit(buf, "%s\n", ufshcd_ufs_dev_pwr_mode_to_string(
 				ufs_pm_lvl_states[hba->spm_lvl].dev_state));
 }
 
@@ -122,7 +122,7 @@ static ssize_t spm_target_link_state_show(struct device *dev,
 {
 	struct ufs_hba *hba = dev_get_drvdata(dev);
 
-	return sysfs_emit(buf, "%s\n", ufschd_uic_link_state_to_string(
+	return sysfs_emit(buf, "%s\n", ufshcd_uic_link_state_to_string(
 				ufs_pm_lvl_states[hba->spm_lvl].link_state));
 }
 
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] scsi: ufs: Fix a typo in ufs-sysfs.c
  2021-04-27  7:38 ` [PATCH] scsi: ufs: Fix a typo in ufs-sysfs.c Keoseong Park
@ 2021-04-29  3:18   ` Martin K. Petersen
  0 siblings, 0 replies; 2+ messages in thread
From: Martin K. Petersen @ 2021-04-29  3:18 UTC (permalink / raw)
  To: linux-scsi, linux-kernel, jejb, cang, stanley.chu, huyue2,
	avri.altman, jaegeuk, asutoshd, Keoseong Park, ALIM AKHTAR,
	beanhuo
  Cc: Martin K . Petersen, Jinyoung CHOI, Daejun Park, Sung-Jun Park

On Tue, 27 Apr 2021 16:38:42 +0900, Keoseong Park wrote:

> Change 'ufschd' to 'ufshcd'.
> 
> Fix the following typo:
> 
>  ufschd_uic_link_state_to_string() -> ufshcd_uic_link_state_to_string()
>  ufschd_ufs_dev_pwr_mode_to_string() -> ufshcd_ufs_dev_pwr_mode_to_string()

Applied to 5.13/scsi-fixes, thanks!

[1/1] scsi: ufs: Fix a typo in ufs-sysfs.c
      https://git.kernel.org/mkp/scsi/c/2f1137140fbc

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-29  3:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20210427073842epcms2p1efa82e558171ad06c9398ea7c364e7dc@epcms2p1>
2021-04-27  7:38 ` [PATCH] scsi: ufs: Fix a typo in ufs-sysfs.c Keoseong Park
2021-04-29  3:18   ` Martin K. Petersen

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).