[PATCH v2 2/3] backlight: dwi_bl: Add Apple DWI backlight driver
Nick Chan
towinchenmi at gmail.com
Mon Dec 9 02:22:17 PST 2024
Krzysztof Kozlowski 於 2024/12/9 下午5:22 寫道:
>> diff --git a/drivers/video/backlight/dwi_bl.c b/drivers/video/backlight/dwi_bl.c
>> new file mode 100644
>> index 000000000000..d4bfd74b3129
>> --- /dev/null
>> +++ b/drivers/video/backlight/dwi_bl.c
>> @@ -0,0 +1,124 @@
[...]
>> +
>> + dwi_bl = devm_kzalloc(&dev->dev, sizeof(struct apple_dwi_bl), GFP_KERNEL);
>
> sizeof(*)
Ack this change as well for v4.
>
>> + if (!dwi_bl)
>> + return -ENOMEM;
[...]
Nick Chan
More information about the linux-arm-kernel
mailing list