summaryrefslogtreecommitdiff
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorTzung-Bi Shih <tzungbi@kernel.org>2024-08-19 13:23:26 +0300
committerLee Jones <lee@kernel.org>2024-09-23 18:20:53 +0300
commitdc98e25bc37b9674f7984b88d04793f466734728 (patch)
tree9f79bfee30502a1fde415b49aaaa25d41c860f2c /rust/helpers/task.c
parent607638b73cb097e727b19e4c09f2c68bddae941e (diff)
downloadlinux-dc98e25bc37b9674f7984b88d04793f466734728.tar.xz
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 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions