diff options
author | Saravana Kannan <saravanak@google.com> | 2020-05-11 16:13:33 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-15 16:21:07 +0200 |
commit | dbf4d13382be7b272417025f5f6687641eb7dd21 (patch) | |
tree | e3420531c28e96b32cf67ad596a6bdfb05e1a99b /crypto/acompress.c | |
parent | e270df39f728fd47771613f1147b26a600d183e8 (diff) |
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 'crypto/acompress.c')
0 files changed, 0 insertions, 0 deletions