On Fri, 29 Jan 2016, Peter Hung wrote: > >>+obj-$(CONFIG_MFD_FINTEK_F81504_CORE) += f81504-core.o > > > >I think '_' is better than '-'. What I saw and usually do is '_' for > >regular source modules and '-' for the resulting objects when they have > >more than one file. > > I used f81504_core.c originally, but I found most of files are named > xxx-ooo.c when I try to modify makefile. Should I change it to > f81504_core.c ?? I prefer '-' in MFD. > >>+#define F81504_DEV_DESC "Fintek F81504/508/512 PCIE- > >>to-UART core" > > > >Do you need this definition? Is it used more than once? > > ok, I'll direct use the string without define. Please rid all of the {DEV_NAME,DEV_DEC} defines, they only serve to obfuscate code. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html