[STLinux Kernel] [PATCH 1/4] spi: Add new driver for STMicroelectronics' SPI Controller

Peter Griffin peter.griffin at linaro.org
Thu Nov 27 04:33:34 PST 2014


Hi Lee,

<snip>

> +static int spi_st_probe(struct platform_device *pdev)
> +{
> +	struct device_node *np = pdev->dev.of_node;
> +	struct device *dev = &pdev->dev;
> +	struct spi_master *master;
> +	struct resource *res;
> +	struct spi_st *spi_st;
> +	int num_cs, cs_gpio, i, ret = 0;
> +	u32 var;
> +	
> +	printk("LEE: %s: %s()[%d]: Probing\n", __FILE__, __func__, __LINE__);

You've left a debug print in here.

regards,

Peter.



More information about the linux-arm-kernel mailing list