Merge tag 'tee-dev-cleanup-for-v5.10' of git://git.linaro.org:/people/jens.wiklander...
authorOlof Johansson <olof@lixom.net>
Sat, 26 Sep 2020 19:39:07 +0000 (12:39 -0700)
committerOlof Johansson <olof@lixom.net>
Sat, 26 Sep 2020 19:39:08 +0000 (12:39 -0700)
Simplify tee_device_register() and friends

Uses cdev_device_add() instead of the cdev_add() device_add()
combination.

Initializes dev->groups instead of direct calls to sysfs_create_group()
and friends.

* tag 'tee-dev-cleanup-for-v5.10' of git://git.linaro.org:/people/jens.wiklander/linux-tee:
  tee: avoid explicit sysfs_create/delete_group by initialising dev->groups
  tee: replace cdev_add + device_add with cdev_device_add

Link: https://lore.kernel.org/r/20200918144130.GB1219771@jade
Signed-off-by: Olof Johansson <olof@lixom.net>
1  2 
drivers/tee/tee_core.c

Simple merge