Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8feea62

Browse files
committed
Merge tag 'for-linus-5.7-2' of git://github.com/cminyard/linux-ipmi
Pull IPMI update from Corey Minyard: "Convert i2c_new_device() to i2c_new_client_device() Wolfram Sang has asked to have this included in 5.7 so the deprecated API can be removed next release. There should be no functional difference. I think that entire this section of code can be removed; it is leftover from other things that have since changed, but this is the safer thing to do for now. The full removal can happen next release"* tag 'for-linus-5.7-2' of git://github.com/cminyard/linux-ipmi: char: ipmi: convert to use i2c_new_client_device()
2 parents9b1f2cb +653d374 commit8feea62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎drivers/char/ipmi/ipmi_ssif.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1947,8 +1947,8 @@ static int ssif_adapter_handler(struct device *adev, void *opaque)
19471947
if (adev->type!=&i2c_adapter_type)
19481948
return0;
19491949

1950-
addr_info->added_client=i2c_new_device(to_i2c_adapter(adev),
1951-
&addr_info->binfo);
1950+
addr_info->added_client=i2c_new_client_device(to_i2c_adapter(adev),
1951+
&addr_info->binfo);
19521952

19531953
if (!addr_info->adapter_name)
19541954
return1;/* Only try the first I2C adapter by default. */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp