aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorHerve Codina <[email protected]>2024-05-13 13:18:53 +0200
committerDavid S. Miller <[email protected]>2024-05-16 09:46:07 +0100
commit99975ad644c7836414183fa7be4f883a4fb2bf64 (patch)
treeff79ec21f09f93dd7fede8ead7c214bbcadcf563 /drivers/fpga/fpga-mgr.c
parent621cde16e49b3ecf7d59a8106a20aaebfb4a59a9 (diff)
net: lan966x: remove debugfs directory in probe() error path
A debugfs directory entry is create early during probe(). This entry is not removed on error path leading to some "already present" issues in case of EPROBE_DEFER. Create this entry later in the probe() code to avoid the need to change many 'return' in 'goto' and add the removal in the already present error path. Fixes: 942814840127 ("net: lan966x: Add VCAP debugFS support") Cc: <[email protected]> Signed-off-by: Herve Codina <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Reviewed-by: Horatiu Vultur <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions