Commit 8feea623 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

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()
parents 9b1f2cbd 653d3747
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1947,7 +1947,7 @@ static int ssif_adapter_handler(struct device *adev, void *opaque)
	if (adev->type != &i2c_adapter_type)
		return 0;

	addr_info->added_client = i2c_new_device(to_i2c_adapter(adev),
	addr_info->added_client = i2c_new_client_device(to_i2c_adapter(adev),
							&addr_info->binfo);

	if (!addr_info->adapter_name)