Revert "qup_i2c: Initialize I2C resource before registering."

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

This reverts commit 73972229386c0832a7c3a68f3075e210bef7c658.
Revert "qup_i2c: export qup_i2c_init_driver"

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

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

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

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

This reverts commit 9e65c38aaade067eb6b3f4e665fc70a330ffb96b.
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>