commit | 375f755899b8fc21196197e02aab26257df26e85 | [log] [tgz] |
---|---|---|
author | Weitao Hou <houweitaoo@gmail.com> | Tue Jun 25 20:50:48 2019 +0800 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Wed Jul 24 11:10:15 2019 +0200 |
tree | 92b0c0d9f4fc392989a6dbda49be98b7372b2a96 | |
parent | d4b890aec4bea7334ca2ca56fd3b12fb48a00cd1 [diff] |
can: mcp251x: add error check when wq alloc failed add error check when workqueue alloc failed, and remove redundant code to make it clear. Fixes: e0000163e30e ("can: Driver for the Microchip MCP251x SPI CAN controllers") Signed-off-by: Weitao Hou <houweitaoo@gmail.com> Acked-by: Willem de Bruijn <willemb@google.com> Tested-by: Sean Nyekjaer <sean@geanix.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>