diff options
author | Enric Balletbo i Serra <[email protected]> | 2019-09-02 11:53:08 +0200 |
---|---|---|
committer | Lee Jones <[email protected]> | 2019-09-02 11:34:18 +0100 |
commit | 832a636f6afe16aa95cb7281c4eb2194b402515d (patch) | |
tree | 42e0d84fec896109cccae63dc4be2c2f6db22c64 /lib/debugobjects.c | |
parent | b027dcf7c4c3e0d22b9ce84011eaf02cf0adf559 (diff) |
mfd: cros_ec: Add convenience struct to define autodetectable CrOS EC subdevices
The CrOS EC is gaining lots of subdevices that are autodetectable by
sending the EC_FEATURE_GET_CMD, it takes fair amount of boiler plate
code to add those devices. So, add a struct that can be used to quickly
add new subdevices without having to duplicate code.
Signed-off-by: Enric Balletbo i Serra <[email protected]>
Acked-by: Andy Shevchenko <[email protected]>
Reviewed-by: Gwendal Grignou <[email protected]>
Tested-by: Gwendal Grignou <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions