Hi! > > > And such code can't be placed under drivers/platform/x86/. > > > > So aim for drivers/platform/mlx ...? > > > > So you suggest to move drivers/platform/x86/mlxcpld-hotplug.c to > drivers/platform/mellanox/mlxcpld-hotplug.c and extend thr driver > with DTS support (mlxreg_core_dev_enable/mlxreg_core_dev_disable)? If this leads to less code duplication -- yes, by all means do that. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Attachment:
signature.asc
Description: Digital signature