Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

scsi: ufs: qcom: Drop dead compile guard

SCSI_UFSHCD already selects DEVFREQ_GOV_SIMPLE_ONDEMAND, drop the check.

Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250724-topic-ufs_compile_check-v1-1-5ba9e99dbd52@oss.qualcomm.com
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Konrad Dybcio and committed by
Martin K. Petersen
33b3120c 3e90b387

-8
-8
drivers/ufs/host/ufs-qcom.c
··· 1894 1894 return 0; 1895 1895 } 1896 1896 1897 - #if IS_ENABLED(CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND) 1898 1897 static void ufs_qcom_config_scaling_param(struct ufs_hba *hba, 1899 1898 struct devfreq_dev_profile *p, 1900 1899 struct devfreq_simple_ondemand_data *d) ··· 1905 1906 1906 1907 hba->clk_scaling.suspend_on_no_request = true; 1907 1908 } 1908 - #else 1909 - static void ufs_qcom_config_scaling_param(struct ufs_hba *hba, 1910 - struct devfreq_dev_profile *p, 1911 - struct devfreq_simple_ondemand_data *data) 1912 - { 1913 - } 1914 - #endif 1915 1909 1916 1910 /* Resources */ 1917 1911 static const struct ufshcd_res_info ufs_res_info[RES_MAX] = {