ACPI: delete CONFIG_ACPI_BLACKLIST_YEAR

About 10 years ago, this option was created to help
distros enable ACPI and not get distracted by ACPI
BIOS issues in machines which were deemed old
at that time, eg 1999 and earlier.

After a couple of years, the high volume distros
stopped bothering to set this option, and instead
simply ran in ACPI mode on all systems with an
ACPI BIOS -- regardless of BIOS DMI year.

Recently there have been some ACPI-enabled systems
with no DMI, mandating that CONFIG_ACPI_BLACKLIST_YEAR=0.

So it seems vanishingly unlikely that this option
is helping anybody run a 2013 kernel on a 1998 system,
and now more systems mandate this option be disabled,
so we simplify by deleting it entirely.

Signed-off-by: Len Brown <len.brown@intel.com>
Thermal: Check for validity before doing kfree

The thermal_release function is called whenever
any device belonging to 'thermal' class unregisters.
This function performs kfree(cdev) without any check.
In cases where there are more device registrations
other than just 'thermal_zone' and 'cooling_device'
this might accidently free memory allocated them
silently; and cause memory errors.

This patch changes this behavior by doing
kfree(cdev) only when the device pointer belongs
to a real cdev i.e. cooling_device.

Signed-off-by: Durgadoss R <durgadoss.r@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
regulator: s5m8767: Modify parse_dt function to parse data related to ramp

This patch parse 'buck[2-4]_ramp_enable and buck_ramp_delay' platform data
from dts file.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
regulator: s5m8767: Modify parsing method of the voltage table of buck2/3/4

The s5m8767 regulator driver parse always the voltage table of buck2/3/4.
If gpio_dvs feature isn't used and dts haven't included the voltage table
of buck2/3/4, s5m8767 regulator driver return error and file probe state.

This patch check only voltage table of buck on s5m8767_pmic_dt_parse_pdata()
if buck[2-4]_gpiodvs is true.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Merge remote-tracking branch 'regulator/fix/ti-abb' into regulator-linus
Merge remote-tracking branch 'regulator/topic/alias' into regulator-next
Merge remote-tracking branch 'regulator/topic/anatop' into regulator-next
Merge remote-tracking branch 'regulator/topic/as3722' into regulator-next
Merge remote-tracking branch 'regulator/topic/core' into regulator-next
Merge remote-tracking branch 'regulator/topic/da9052' into regulator-next
Merge remote-tracking branch 'regulator/topic/da9063' into regulator-next
Merge remote-tracking branch 'regulator/topic/da9210' into regulator-next
Merge remote-tracking branch 'regulator/topic/devm' into regulator-next
Merge remote-tracking branch 'regulator/topic/fixed' into regulator-next
Merge remote-tracking branch 'regulator/topic/gpio' into regulator-next
Merge remote-tracking branch 'regulator/topic/linear' into regulator-next
Merge remote-tracking branch 'regulator/topic/lp3971' into regulator-next
Merge remote-tracking branch 'regulator/topic/max8997' into regulator-next
Merge remote-tracking branch 'regulator/topic/mc13783' into regulator-next
Merge remote-tracking branch 'regulator/topic/optional' into regulator-next