aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2024-03-25 21:06:49 +0100
committerThomas Zimmermann <[email protected]>2024-04-02 10:40:46 +0200
commite14ab3037383f4e3d026e2aea1ad53644a3735ed (patch)
tree73892c8d5e5599a39de9ebecac1415515e8de07b /scripts/generate_rust_analyzer.py
parentc0af492c872b949cf3e8b91ef66094bc5f81e181 (diff)
drm/ast: Allocate instance of struct ast_i2c_chan with managed helpers
Replace kzalloc() with drmm_kzalloc() and thereby put the release of the I2C instance into a separate action. Avoids explicit error roll- back in ast_i2c_chan_create(). No functional changes. Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Sui Jingfeng <[email protected]> Reviewed-by: Jocelyn Falempe <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions