Revert "qup_i2c: Initialize I2C resource before registering."

This reverts commit ac215b88c8f2fb4c00c787edb474675a140971ea.
Revert "i2c_qup: Fix for unhandled IRQ"

This reverts commit a8d3a39a3b929a54347acf0f91e8cc61f61e6f83.
Revert "qup_i2c: export qup_i2c_init_driver"

This reverts commit e4fb169a96892c770689865c340b26494055c09b.
Revert "i2c_qup: Improve implementation of PM callbacks"

This reverts commit 003dbb9c12c889f26595dea2208f2258b6485098.
Revert "qup_i2c: Handle scenario if runtime PM is disable"

This reverts commit 523b868b9317a57b2d32239badb421393d972c8e.
Revert "i2c-qup: Verify that mem resource exists prior to redirection"

This reverts commit 23ab8c1fed75d6433a6874fb1c82b0a6ddab2bf3.
Revert "defconfig: add force fast charge"

This reverts commit eefa4591204bda33548dfa5bdb587b6f91650457.
Revert "fastcharge: initial Nexus 5 adaptation"

This reverts commit 5c575a90808757d8fa15a183ad9c826b9fa7391a.
Add backlight dimmer option

This is based on n5dim by @mzhou  https://github.com/mzhou/n5dim

Signed-off-by: flar2 <asegaert@gmail.com>
More gradual levels for backlight dimmer mod (based on @mzhou module)

Signed-off-by: flar2 <asegaert@gmail.com>
Backlight dimmer mod: more gradual transitions

Signed-off-by: flar2 <asegaert@gmail.com>
backlight: fix a bug where the screen would be completely dark or near darkness with backlight_dimmer enabled when the display dimmed. The brightness level can't be any lower than dev->min_brightness and previous code allowed that to happen, so fix it.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
backlight: clean the code.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
backlight: add minimum backlight brightness module param.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
backlight: scale max current when the brightness level is below 15 instead of using always 0.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>