diff options
| author | Christophe JAILLET <[email protected]> | 2023-11-12 07:44:15 +0000 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2023-11-20 13:05:04 +0000 |
| commit | 3ecb4d85461a34323a849769030841533fcd0395 (patch) | |
| tree | 3668c276482aece707636c64416f12771e76457e /drivers/platform/x86/intel/pmt/class.c | |
| parent | platform/x86: x86-android-tablets: Fix backlight ctrl for Lenovo Yoga Tab 3 P... (diff) | |
| download | kernel-3ecb4d85461a34323a849769030841533fcd0395.tar.gz kernel-3ecb4d85461a34323a849769030841533fcd0395.zip | |
platform/x86/dell: alienware-wmi: Use kasprintf()
Use kasprintf() instead of hand writing it.
This saves the need of an intermediate buffer.
Signed-off-by: Christophe JAILLET <[email protected]>
Link: https://lore.kernel.org/r/f2b2c9e5d80550e480a627c1b2139d5cc9472ffa.1699775015.git.christophe.jaillet@wanadoo.fr
Reviewed-by: Ilpo Järvinen <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
