summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-omap2-mcspi.c
diff options
context:
space:
mode:
authorThomas Richter <tmricht@linux.ibm.com>2018-10-15 14:39:29 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-28 18:25:46 +0100
commit8250c2a36a97f26ea5055cfb80b435d3330fab54 (patch)
tree3e0ab1b9e0618561335f7b64a1f68ab58b215110 /drivers/spi/spi-omap2-mcspi.c
parent2f3f3d9fcb933f614293d8a70a956a0afb0cab4c (diff)
s390/perf: Return error when debug_register fails
[ Upstream commit ec0c0bb489727de0d4dca6a00be6970ab8a3b30a ] Return an error when the function debug_register() fails allocating the debug handle. Also remove the registered debug handle when the initialization fails later on. Signed-off-by: Thomas Richter <tmricht@linux.ibm.com> Reviewed-by: Hendrik Brueckner <brueckner@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/spi/spi-omap2-mcspi.c')
0 files changed, 0 insertions, 0 deletions