mbox series

[v2,0/6] platform/chrome: cros_ec: miscellaneous cleanups

Message ID 20220209045035.380615-1-tzungbi@google.com (mailing list archive)
Headers show
Series platform/chrome: cros_ec: miscellaneous cleanups | expand

Message

Tzung-Bi Shih Feb. 9, 2022, 4:50 a.m. UTC
The 1st patch fixes unhandled undos in error handling path.

The rest of patches cleans drivers/platform/chrome/cros_ec.c.

Changes from v1[1]:
- Use imperative mood in commit messages.
- Use IS_ERR_OR_NULL() in 1st patch.

[1]: https://lore.kernel.org/lkml/20220125101527.1812887-1-tzungbi@google.com/T/#u

Tzung-Bi Shih (6):
  platform/chrome: cros_ec: fix error handling in cros_ec_register()
  platform/chrome: cros_ec: remove unused variable `was_wake_device`
  platform/chrome: cros_ec: determine `wake_enabled` in
    cros_ec_suspend()
  platform/chrome: cros_ec: don't initialize `err` in cros_ec_register()
  platform/chrome: cros_ec: sort header inclusion alphabetically
  platform/chrome: cros_ec: append newline to all logs

 drivers/platform/chrome/cros_ec.c           | 38 ++++++++++++---------
 include/linux/platform_data/cros_ec_proto.h |  3 --
 2 files changed, 21 insertions(+), 20 deletions(-)