Commit 8f18685
platform/x86: asus-wmi: Use devm_platform_profile_register()
Replace platform_profile_register() with it's device managed version.
Also replace pr_err with dev_err in case of error and make the error
message more user-friendly.
Reviewed-by: Mario Limonciello <[email protected]>
Signed-off-by: Kurt Borja <[email protected]>
Reviewed-by: Mark Pearson <[email protected]>
Tested-by: Mark Pearson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Ilpo Järvinen <[email protected]>1 parent 3e6d0bf commit 8f18685
1 file changed
+3
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3895 | 3895 | | |
3896 | 3896 | | |
3897 | 3897 | | |
3898 | | - | |
3899 | | - | |
3900 | | - | |
3901 | | - | |
3902 | | - | |
3903 | | - | |
| 3898 | + | |
| 3899 | + | |
| 3900 | + | |
3904 | 3901 | | |
3905 | 3902 | | |
3906 | 3903 | | |
| |||
4859 | 4856 | | |
4860 | 4857 | | |
4861 | 4858 | | |
4862 | | - | |
4863 | | - | |
4864 | 4859 | | |
4865 | 4860 | | |
4866 | 4861 | | |
| |||
4886 | 4881 | | |
4887 | 4882 | | |
4888 | 4883 | | |
4889 | | - | |
4890 | | - | |
4891 | | - | |
4892 | 4884 | | |
4893 | 4885 | | |
4894 | 4886 | | |
| |||
0 commit comments