Thread (13 messages) 13 messages, 5 authors, 2017-07-27

Re: [PATCH 1/4] can: dev: Add support for limiting configured bitrate

From: Oliver Hartkopp <socketcan@hartkopp.net>
Date: 2017-07-20 07:43:35
Also in: linux-can, linux-devicetree, lkml

Hi Franklin,

On 07/20/2017 01:36 AM, Franklin S Cooper Jr wrote:
+#ifdef CONFIG_OF
+void of_transceiver_is_fixed(struct net_device *dev)
+{
(..)
+}
+EXPORT_SYMBOL(of_transceiver_is_fixed);
+#endif
I'm not sure about the naming here.

As this is a CAN transceiver related option it should be named accordingly:

E.g.

	can_transceiver_is_fixed
	of_can_transceiver_is_fixed
	...

Especially as it is defined in include/linux/can/dev.h

Regards,
Oliver
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help