BigW Consortium Gitlab

Commit f58376a7 by David Frey

Clean up formatting of can_iot module

parent 4a9ce3c3
......@@ -17,11 +17,13 @@ static struct platform_driver can_iot_drv = {
.owner = THIS_MODULE,
},
};
static int can_iot_probe (struct platform_device *pdev){
static int can_iot_probe (struct platform_device *pdev)
{
return 0;
}
static void can_iot_remove(struct platform_device *pdev){
static void can_iot_remove(struct platform_device *pdev)
{
}
*/
......@@ -43,8 +45,6 @@ static struct spi_device *spi_device;
static int __init can_iot_init(void)
{
/* MCP251x needs us to allocate the GPIO irq it will request */
if ((gpio_request(CF3_GPIO42, "can_irq") == 0) &&
(gpio_direction_input(CF3_GPIO42) == 0)) {
......
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