]> git.baikalelectronics.ru Git - kernel.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)
commitef6882b981fede93f35c71298df138119724caeb
treeca06e3d3d681787b2fd59aa8ab456bd7ea474c24
parent4636b3f50985af5a9338ee33abb414df3f2753e7
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