Commit 2f113714 authored by Keoseong Park's avatar Keoseong Park Committed by Martin K. Petersen

scsi: ufs: core: Fix a typo in ufs-sysfs.c

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

Link: https://lore.kernel.org/r/1381713434.61619509208911.JavaMail.epsvc@epcpadp3Signed-off-by: default avatarKeoseong Park <keosung.park@samsung.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent e4ec1022
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#include "ufs.h" #include "ufs.h"
#include "ufs-sysfs.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) enum uic_link_state state)
{ {
switch (state) { switch (state) {
...@@ -21,7 +21,7 @@ static const char *ufschd_uic_link_state_to_string( ...@@ -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) enum ufs_dev_pwr_mode state)
{ {
switch (state) { switch (state) {
...@@ -81,7 +81,7 @@ static ssize_t rpm_target_dev_state_show(struct device *dev, ...@@ -81,7 +81,7 @@ static ssize_t rpm_target_dev_state_show(struct device *dev,
{ {
struct ufs_hba *hba = dev_get_drvdata(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)); ufs_pm_lvl_states[hba->rpm_lvl].dev_state));
} }
...@@ -90,7 +90,7 @@ static ssize_t rpm_target_link_state_show(struct device *dev, ...@@ -90,7 +90,7 @@ static ssize_t rpm_target_link_state_show(struct device *dev,
{ {
struct ufs_hba *hba = dev_get_drvdata(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)); ufs_pm_lvl_states[hba->rpm_lvl].link_state));
} }
...@@ -113,7 +113,7 @@ static ssize_t spm_target_dev_state_show(struct device *dev, ...@@ -113,7 +113,7 @@ static ssize_t spm_target_dev_state_show(struct device *dev,
{ {
struct ufs_hba *hba = dev_get_drvdata(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)); ufs_pm_lvl_states[hba->spm_lvl].dev_state));
} }
...@@ -122,7 +122,7 @@ static ssize_t spm_target_link_state_show(struct device *dev, ...@@ -122,7 +122,7 @@ static ssize_t spm_target_link_state_show(struct device *dev,
{ {
struct ufs_hba *hba = dev_get_drvdata(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)); ufs_pm_lvl_states[hba->spm_lvl].link_state));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment