mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
samples: qmi: Use the unified QMI service ID instead of defining it locally
Instead of defining a local macro with a custom name for the QMI service identifier, use the one provided in qmi.h and remove the locally defined macro. Signed-off-by: Daniel Lezcano <daniel.lezcano@oss.qualcomm.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260309230346.3584252-9-daniel.lezcano@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
committed by
Bjorn Andersson
parent
24f80cbe0b
commit
8baf6b3b76
@@ -592,7 +592,7 @@ static int qmi_sample_init(void)
|
||||
if (ret < 0)
|
||||
goto err_unregister_driver;
|
||||
|
||||
qmi_add_lookup(&lookup_client, 15, 0, 0);
|
||||
qmi_add_lookup(&lookup_client, QMI_SERVICE_ID_TEST, 0, 0);
|
||||
|
||||
return 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user