backlight: remove code duplication
authorLuis de Bethencourt <luis.bg@samsung.com>
Tue, 2 Dec 2014 18:21:10 +0000 (18:21 +0000)
committerTom Hacohen <tom@stosb.com>
Wed, 3 Dec 2014 11:55:25 +0000 (11:55 +0000)
commit294db70962ae905d7f28b6b46e39e6cc2580f12f
treefebc6c4b9cf2923d82bc8467acc057f5d4b083f1
parent1bcc205d2f29cdf6b8491e707a8efaa3e466f56a
backlight: remove code duplication

Move repeated blocks of code to a static function
src/modules/backlight/e_mod_main.c