summaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-03-24 14:20:22 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-24 13:33:25 +0100
commit927f82875c272e8c1159cb2c00bda473402c7c28 (patch)
tree4fa8afaef32dfaf40c2ffd70baf1f201d8df0c6a /drivers/fpga/fpga-bridge.c
parenta65cab7d7f05c2061a3e2490257d3086ff3202c6 (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>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions