From: Perez Hernandez, Javier B
On Thu, 2016-06-30 at 00:49 +0000, Tseng, Kuo-Lang wrote:
Hi,Sounds good to me, just some questions/suggestions.
The current file naming of most files in /drivers/subsystem folders
starts with 'subsystem_something.[hc]'. The prefix part 'subsystem_'
can seem to be redundant as the subfolder where the file is located
already namespaces it.
Remove the prefix 'subsystem_' from the filename. For example, some
sensor is like
and would look like:
what about the Kconfig files? are they going to keep the same name?
Current proposal does not include Kconfig files.
can we change the name to sensor.Kconfig? like bma280.Kconfig instead of current
Any benefit from the proposed name for Kconfig files vs. current names?
maybe for sensor we can even have a directory per each sensor, seems like we
already have a bunch of sensor code. what do you think?
Like drivers/sensors/bmc280/bmc280.[ch]? Yes, that can be an option.
Javier B. Perez
One side effect would be that now you would end up having files with
same filenames from different folder (e.g. qmsi.c). This may not be an
issue if each resides in their own folder.