Yes, don't. :-)
Simply incorporate the changes with defines where model specific.
I understand you made two changes. Did you test them serially? Perhaps only one change is required?
[edit] I just looked at the Pipo supplied source for M7 and checked the backlight parameters. It seems they were as I had them:
.min_brightness = 20,
.max_brightness = 150,
.brightness_mode =BRIGHTNESS_MODE_CONIC,
Comment