diff options
author | Sudeep Holla <sudeep.holla@arm.com> | 2020-09-01 13:33:34 +0300 |
---|---|---|
committer | Jens Wiklander <jens.wiklander@linaro.org> | 2020-09-18 11:44:40 +0300 |
commit | ab3d8e1baaee4b167cc99120f640ee4de6d05d50 (patch) | |
tree | 6fbfb31aeb6e903af34777474d4e771f1496508f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 (diff) | |
download | linux-ab3d8e1baaee4b167cc99120f640ee4de6d05d50.tar.xz |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions