mali_control: fixes and refactorings

Conflicts:

	drivers/misc/mali_control.c