[PATCH v3 1/7] drm/xe: Simplify function return using drmm_add_action_or_reset()

Ghimiray, Himal Prasad himal.prasad.ghimiray at intel.com
Fri Apr 12 14:54:14 UTC 2024


On 12-04-2024 18:22, Lucas De Marchi wrote:
> On Fri, Apr 12, 2024 at 01:32:39PM +0530, Himal Prasad Ghimiray wrote:
>> Instead of assigning the value of drmm_add_action_or_reset() to err and
>> returning err in case of failure and 0 in case of success, simply return
>> the result of drmm_add_action_or_reset().
>>
>> -v2:
>> cleanup in xe_display too.
>>
>> Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
>> Cc: Lucas De Marchi <lucas.demarchi at intel.com>
>> Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray at intel.com>
>
>
> Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>
Thanks for the review.
>
> Lucas De Marchi


More information about the Intel-xe mailing list