video: fbdev: udlfb: fix kobj_to_dev.cocci warnings
authorkernel test robot <lkp@intel.com>
Wed, 26 Aug 2020 20:54:05 +0000 (22:54 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Tue, 8 Sep 2020 11:33:27 +0000 (13:33 +0200)
commit6bfea83eec8e266ffe0da90037c17bca5e698eb4
tree87a3617538b09795b782cafb81cff5559928f555
parentfe6c6a4af2be8c15bac77f7ea160f947c04840d1
video: fbdev: udlfb: fix kobj_to_dev.cocci warnings

 Use kobj_to_dev() instead of container_of()

Generated by: scripts/coccinelle/api/kobj_to_dev.cocci

Cc: Denis Efremov <efremov@linux.com>
Signed-off-by: kernel test robot <lkp@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@inria.fr>
Cc: Bernie Thompson <bernie@plugable.com>
[b.zolnierkie: minor patch summary fixup]
[b.zolnierkie: removed "Fixes:" tag (not in upstream tree)]
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/alpine.DEB.2.22.394.2008262252270.2522@hadrien
drivers/video/fbdev/udlfb.c