diff options
| author | Tzung-Bi Shih <tzungbi@kernel.org> | 2024-08-19 18:23:26 +0800 |
|---|---|---|
| committer | Lee Jones <lee@kernel.org> | 2024-09-23 16:20:53 +0100 |
| commit | dc98e25bc37b9674f7984b88d04793f466734728 (patch) | |
| tree | 9f79bfee30502a1fde415b49aaaa25d41c860f2c /tools/perf/scripts/python/gecko.py | |
| parent | mfd: max14577: Provide MODULE_DEVICE_TABLE() to fix module autoloading (diff) | |
| download | linux-dc98e25bc37b9674f7984b88d04793f466734728.tar.gz linux-dc98e25bc37b9674f7984b88d04793f466734728.zip | |
mfd: cros_ec: Simplify and clean-up cros_ec_dev_init()
Simplify cros_ec_dev_init() by the following changes:
- Get rid of label `failed_devreg`.
- Remove a redundant space and comment.
- Use `if (ret)` instead of `if (ret < 0)`.
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Link: https://lore.kernel.org/r/20240819102326.5235-1-tzungbi@kernel.org
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions
