diff options
author | Prashant Malani <pmalani@chromium.org> | 2020-03-16 01:28:30 -0700 |
---|---|---|
committer | Benson Leung <bleung@chromium.org> | 2020-03-17 14:21:53 -0700 |
commit | f5d84a21fab7d11ffdf740f6d44846f34f42c8e1 (patch) | |
tree | a38b60839ac7d116c1eda3c7dd104d12b869bfea /arch | |
parent | 92e399c07b7e71805306e8ce82960f10400c4ffe (diff) |
platform/chrome: cros_usbpd_notify: Add driver data struct
Introduce a device driver data structure, cros_usbpd_notify_data, in
which we can store the notifier block object and pointers to the struct
cros_ec_device and struct device objects.
This will make it more convenient to access these pointers when
executing both platform and ACPI callbacks.
Signed-off-by: Prashant Malani <pmalani@chromium.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Benson Leung <bleung@chromium.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions