]> git.ipfire.org Git - thirdparty/linux.git/commit
usb: musb: omap2430: clean up probe error handling
authorJohan Hovold <johan@kernel.org>
Thu, 24 Jul 2025 09:19:10 +0000 (11:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Jul 2025 08:50:44 +0000 (10:50 +0200)
commit51d4b0a44c82e5eff056ef76acd2c3c605a8eb74
tree545ac0c9ff0dcac6ebc9ab5b6eaf4bf6311b21ed
parent1473e9e7679bd4f5a62d1abccae894fb86de280f
usb: musb: omap2430: clean up probe error handling

Using numbered error labels is discouraged (e.g. as it requires
renumbering them when adding a new intermediate error path).

Rename the error labels after what they do.

While at it, drop the redundant platform allocation failure dev_err()
as the error would already have been logged by the allocator.

Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20250724091910.21092-6-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/omap2430.c