On Fri, May 15, 2020 at 10:51:11AM +0100, Emil Velikov wrote: > From: Emil Velikov <[email protected]> > > Spelling out _unlocked for each and every driver is a annoying. > Especially if we consider how many drivers, do not know (or need to) > about the horror stories involving struct_mutex. > > Just drop the suffix. It makes the API cleaner. > > Done via the following script: > > __from=drm_gem_object_put_unlocked > __to=drm_gem_object_put > for __file in $(git grep --name-only $__from); do > sed -i "s/$__from/$__to/g" $__file; > done > > Cc: Thierry Reding <[email protected]> > Cc: David Airlie <[email protected]> > Cc: Daniel Vetter <[email protected]> > Signed-off-by: Emil Velikov <[email protected]> > Acked-by: Sam Ravnborg <[email protected]> > --- > drivers/gpu/drm/tegra/drm.c | 12 ++++++------ > drivers/gpu/drm/tegra/fb.c | 6 +++--- > drivers/gpu/drm/tegra/gem.c | 4 ++-- > 3 files changed, 11 insertions(+), 11 deletions(-)
Acked-by: Thierry Reding <[email protected]>
signature.asc
Description: PGP signature
_______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
