commit | b42657acf34d2a045f6a15f5e71082c45c524d36 | [log] [tgz] |
---|---|---|
author | Iurii Zaikin <yzaikin@google.com> | Wed Oct 02 16:35:41 2019 -0700 |
committer | Iurii Zaikin <yzaikin@google.com> | Thu Oct 03 10:52:18 2019 -0700 |
tree | 0705b5f3561e4b1ac51d9cb4342a1dc020aecced | |
parent | b8d286e00bbf722c1ba0334ccd457786bab3bddc [diff] |
kunit: Fix platform mock to enable calling driver->remove. Set up the minimal links between device and driver structs in of_fake_probe_platform that enable the driver core code to successfully call driver->remove on the fake-probed driver. Signed-off-by: Iurii Zaikin <yzaikin@google.com> Change-Id: I9fa73166e7b139e705f871aa85482f56e2afd3dd