diff options
author | Ovidiu Panait <ovidiu.panait.oss@gmail.com> | 2025-08-08 23:48:30 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-08-11 07:21:22 +0200 |
commit | 5f5743e5b599bafe2ec5df2d33f616217a778135 (patch) | |
tree | aaadd8063b3bb5db03fbfde1e5740fb7824a6f82 /rust/helpers/platform.c | |
parent | 498a14ce8e898eac7d55977625dc93c1e918e1d5 (diff) |
staging: axis-fifo: remove unnecessary dev_set_drvdata() calls
Remove unnecessary dev_set_drvdata() calls - driver_data will be set to
NULL in device_unbind_cleanup() at driver exit time.
This allows us to remove the 'err_initial' label, simplifying the probe
function a bit.
Signed-off-by: Ovidiu Panait <ovidiu.panait.oss@gmail.com>
Link: https://lore.kernel.org/r/20250808204831.2618122-1-ovidiu.panait.oss@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions