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)
commit5746b3b88627ffa1289dfe777ca5085e29b6c336
treee6b2326b06cc0f35dce79f879e8e6c839ead2079
parent802b26b3c2af8d2e46afce1e2ba4d0db8d393990
parent8c05f50fe8452f9d3220efad77bef42c7b498193
Merge tag 'tee-dev-cleanup-for-v5.10' of git://git.linaro.org:/people/jens.wiklander/linux-tee into arm/drivers

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>
drivers/tee/tee_core.c