commit | 927f82875c272e8c1159cb2c00bda473402c7c28 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Tue Mar 24 14:20:22 2020 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Mar 24 13:33:25 2020 +0100 |
tree | 4fa8afaef32dfaf40c2ffd70baf1f201d8df0c6a | |
parent | a65cab7d7f05c2061a3e2490257d3086ff3202c6 [diff] |
driver core: Read atomic counter once in driver_probe_done() Between printing the debug message and actual check atomic counter can be altered. For better debugging experience read atomic counter value only once. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Tested-by: Ferry Toth <fntoth@gmail.com> Link: https://lore.kernel.org/r/20200324122023.9649-2-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>