Re: [PATCH 1/3] max310x multi device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 07, 2016 at 05:08:38PM +0200, michael musset wrote:
>  static u8 max310x_port_read(struct uart_port *port, u8 reg)
>  {
>  	struct max310x_port *s = dev_get_drvdata(port->dev);
>  	unsigned int val = 0;
> -
> +	printk("max310x_port_read %d\n", s->index);

Why add all of this debugging code?  Just use ftrace.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux