The difference between two drivers

Hi, I plan to write my own camera driver code by imitating the source code,
but the source code formats in these two directories are different.
I am not sure which format to follow, and I would like to know the difference between these two different formats?

The one at kerenl/nvidia/… dir.

Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.