diff mbox series

[v3,4/4] hwmon: (pmbus) add support for DPS-650AB

Message ID 625d047f0f42d30bb5ceb75ada529b5fa0c9a21a.1546918172.git.xiaoting.liu@hxt-semitech.com (mailing list archive)
State Accepted
Headers show
Series [v3,1/4] pmbus: associate PMBUS_SKIP_STATUS_CHECK with | expand

Commit Message

Liu, Xiaoting Jan. 10, 2019, 2:31 a.m. UTC
Provide support for PSU DPS-650AB from Delta Electronics, INC.

Signed-off-by: Xiaoting Liu <xiaoting.liu@hxt-semitech.com>
---
v3:
  No change.
---
v2:
  Change the patch subject and commit message.
  Drop dps650ab.c file.
  Replace struct name dps650ab_pmbus_info with pmbus_info_one_skip.
---
 drivers/hwmon/pmbus/pmbus.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Guenter Roeck Jan. 10, 2019, 6:42 p.m. UTC | #1
On Thu, Jan 10, 2019 at 10:31:44AM +0800, Xiaoting Liu wrote:
> Provide support for PSU DPS-650AB from Delta Electronics, INC.
> 
> Signed-off-by: Xiaoting Liu <xiaoting.liu@hxt-semitech.com>

Applied to hwmon-next.

Thanks,
Guenter

> ---
> v3:
>   No change.
> ---
> v2:
>   Change the patch subject and commit message.
>   Drop dps650ab.c file.
>   Replace struct name dps650ab_pmbus_info with pmbus_info_one_skip.
> ---
>  drivers/hwmon/pmbus/pmbus.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/hwmon/pmbus/pmbus.c b/drivers/hwmon/pmbus/pmbus.c
> index ef845a1310fa..e648ed8d926a 100644
> --- a/drivers/hwmon/pmbus/pmbus.c
> +++ b/drivers/hwmon/pmbus/pmbus.c
> @@ -212,6 +212,7 @@ static int pmbus_probe(struct i2c_client *client,
>  	{"bmr453", (kernel_ulong_t)&pmbus_info_one},
>  	{"bmr454", (kernel_ulong_t)&pmbus_info_one},
>  	{"dps460", (kernel_ulong_t)&pmbus_info_one_skip},
> +	{"dps650ab", (kernel_ulong_t)&pmbus_info_one_skip},
>  	{"dps800", (kernel_ulong_t)&pmbus_info_one_skip},
>  	{"mdt040", (kernel_ulong_t)&pmbus_info_one},
>  	{"ncp4200", (kernel_ulong_t)&pmbus_info_one},
> -- 
> 1.8.3.1
>
Liu, Xiaoting Jan. 11, 2019, 8:27 a.m. UTC | #2
On 2019/1/11 2:42, Guenter Roeck wrote:
> On Thu, Jan 10, 2019 at 10:31:44AM +0800, Xiaoting Liu wrote:
>> Provide support for PSU DPS-650AB from Delta Electronics, INC.
>>
>> Signed-off-by: Xiaoting Liu <xiaoting.liu@hxt-semitech.com>
> Applied to hwmon-next.
>
> Thanks,
> Guenter

Thanks for your reply!

Xiaoting

>> ---
>> v3:
>>   No change.
>> ---
>> v2:
>>   Change the patch subject and commit message.
>>   Drop dps650ab.c file.
>>   Replace struct name dps650ab_pmbus_info with pmbus_info_one_skip.
>> ---
>>  drivers/hwmon/pmbus/pmbus.c | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/hwmon/pmbus/pmbus.c b/drivers/hwmon/pmbus/pmbus.c
>> index ef845a1310fa..e648ed8d926a 100644
>> --- a/drivers/hwmon/pmbus/pmbus.c
>> +++ b/drivers/hwmon/pmbus/pmbus.c
>> @@ -212,6 +212,7 @@ static int pmbus_probe(struct i2c_client *client,
>>  	{"bmr453", (kernel_ulong_t)&pmbus_info_one},
>>  	{"bmr454", (kernel_ulong_t)&pmbus_info_one},
>>  	{"dps460", (kernel_ulong_t)&pmbus_info_one_skip},
>> +	{"dps650ab", (kernel_ulong_t)&pmbus_info_one_skip},
>>  	{"dps800", (kernel_ulong_t)&pmbus_info_one_skip},
>>  	{"mdt040", (kernel_ulong_t)&pmbus_info_one},
>>  	{"ncp4200", (kernel_ulong_t)&pmbus_info_one},
>> -- 
>> 1.8.3.1
>>
diff mbox series

Patch

diff --git a/drivers/hwmon/pmbus/pmbus.c b/drivers/hwmon/pmbus/pmbus.c
index ef845a1310fa..e648ed8d926a 100644
--- a/drivers/hwmon/pmbus/pmbus.c
+++ b/drivers/hwmon/pmbus/pmbus.c
@@ -212,6 +212,7 @@  static int pmbus_probe(struct i2c_client *client,
 	{"bmr453", (kernel_ulong_t)&pmbus_info_one},
 	{"bmr454", (kernel_ulong_t)&pmbus_info_one},
 	{"dps460", (kernel_ulong_t)&pmbus_info_one_skip},
+	{"dps650ab", (kernel_ulong_t)&pmbus_info_one_skip},
 	{"dps800", (kernel_ulong_t)&pmbus_info_one_skip},
 	{"mdt040", (kernel_ulong_t)&pmbus_info_one},
 	{"ncp4200", (kernel_ulong_t)&pmbus_info_one},