]> asedeno.scripts.mit.edu Git - linux.git/commit
platform/chrome: wilco_ec: Fix unregistration order
authorDaniel Campello <campello@chromium.org>
Wed, 8 Jan 2020 16:35:20 +0000 (09:35 -0700)
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>
Fri, 10 Jan 2020 10:42:51 +0000 (11:42 +0100)
commitffd7263e63fe80a39c1222a6d68e05095ed04d03
treeca06e3d3d681787b2fd59aa8ab456bd7ea474c24
parent11f1eabee0ba0aafe023ad92d1e3c29d0a96683e
platform/chrome: wilco_ec: Fix unregistration order

The unregistration should happen in the opposite order of
the registration, so change it accordingly.

No real issue has been noticed, but it is good practice to
keep the correct unregistration order.

Signed-off-by: Daniel Campello <campello@chromium.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
drivers/platform/chrome/wilco_ec/core.c