summaryrefslogtreecommitdiff
path: root/scripts/mksysmap
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@arm.com>2020-09-01 11:33:34 +0100
committerJens Wiklander <jens.wiklander@linaro.org>2020-09-18 10:44:40 +0200
commitab3d8e1baaee4b167cc99120f640ee4de6d05d50 (patch)
tree6fbfb31aeb6e903af34777474d4e771f1496508f /scripts/mksysmap
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 (diff)
tee: replace cdev_add + device_add with cdev_device_add
Commit 233ed09d7fda ("chardev: add helper function to register char devs with a struct device") added a helper function 'cdev_device_add'. Make use of cdev_device_add in tee_device_register to replace cdev_add and device_add. Since cdev_device_add takes care of setting the kobj->parent, drop explicit initialisation in tee_device_alloc. Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'scripts/mksysmap')
0 files changed, 0 insertions, 0 deletions