diff options
author | 2020-05-11 16:13:33 +0100 | |
---|---|---|
committer | 2020-05-15 16:21:07 +0200 | |
commit | dbf4d13382be7b272417025f5f6687641eb7dd21 (patch) | |
tree | e3420531c28e96b32cf67ad596a6bdfb05e1a99b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nvmem: jz4780-efuse: Use PTR_ERR_OR_ZERO() to simplify code (diff) | |
download | wireguard-linux-dbf4d13382be7b272417025f5f6687641eb7dd21.tar.xz wireguard-linux-dbf4d13382be7b272417025f5f6687641eb7dd21.zip |
slimbus: core: Set fwnode for a device when setting of_node
When setting the of_node for a newly created device, also set the
fwnode. This allows fw_devlink feature to work for slimbus devices.
Also, remove some unnecessary NULL checks. The functions in question
already do NULL checks.
Signed-off-by: Saravana Kannan <saravanak@google.com>
[Srini: removed unnecessary NULL check from other patch]
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20200511151334.362-2-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions