Skip to content
Commit d866f140 authored by Andrei Coardos's avatar Andrei Coardos Committed by Jonathan Cameron
Browse files

iio: trigger: stm32-lptimer-trigger: remove unneeded platform_set_drvdata()



This function call was found to be unnecessary as there is no equivalent
platform_get_drvdata() call to access the private data of the driver. Also,
the private data is defined in this driver, so there is no risk of it being
accessed outside of this driver file.

Reviewed-by: default avatarAlexandru Ardelean <alex@shruggie.ro>
Signed-off-by: default avatarAndrei Coardos <aboutphysycs@gmail.com>
Link: https://lore.kernel.org/r/20230802120915.25631-1-aboutphysycs@gmail.com
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent e19480dd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment