Commit efb0b309 authored by Zijun Hu's avatar Zijun Hu Committed by Greg Kroah-Hartman

driver core: Trivially simplify ((struct device_private *)curr)->device->p to @curr

Trivially simplify ((struct device_private *)curr)->device->p to @curr
in deferred_devs_show() since both are same.
Signed-off-by: default avatarZijun Hu <quic_zijuhu@quicinc.com>
Link: https://lore.kernel.org/r/20240908-trivial_simpli-v1-1-53e0f1363299@quicinc.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fea64fa0
......@@ -248,7 +248,7 @@ static int deferred_devs_show(struct seq_file *s, void *data)
list_for_each_entry(curr, &deferred_probe_pending_list, deferred_probe)
seq_printf(s, "%s\t%s", dev_name(curr->device),
curr->device->p->deferred_probe_reason ?: "\n");
curr->deferred_probe_reason ?: "\n");
mutex_unlock(&deferred_probe_mutex);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment