commit | 3289228dc73d329efd0f2261d516161020afdfa2 | [log] [tgz] |
---|---|---|
author | AleX Pelosi <[email protected]> | Fri Sep 11 02:29:20 2020 -0700 |
committer | AleX Pelosi <[email protected]> | Fri Sep 11 03:20:23 2020 -0700 |
tree | fc36e7c512b61f14ed7bedabd232acf087e6d7a6 | |
parent | 5077fc57f534668be0c0829a83334bce658ae9ae [diff] |
gbms: fix the module dependencies Cleanup module_init() and module_exit() using module_platform_driver() as appropriate. Pass defines for modules in command line and use IS_ENABLED() to select/deselect API functions. Handle lack max_m5_reg_write(), max_m5_reg_read() and of max_m5_read_actual_input_current_ua() gracefully. Bug: 160835098 Test: recompile Signed-off-by: AleX Pelosi <[email protected]> Change-Id: I8921b475abd5f4b5a094401175238c6b7fcf12cd