[PATCH 2/2] misc: ocxl: use put_device() instead of device_unregister()

Andrew Donnellan andrew.donnellan at au1.ibm.com
Tue Mar 13 11:26:25 AEDT 2018

On 12/03/18 22:36, Arvind Yadav wrote:
> if device_register() returned an error! Always use put_device()
> to give up the reference initialized.
> Signed-off-by: Arvind Yadav <arvind.yadav.cs at gmail.com>

This looks right, thanks for picking it up.

Acked-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>

Andrew Donnellan              OzLabs, ADL Canberra
andrew.donnellan at au1.ibm.com  IBM Australia Limited

More information about the Linuxppc-dev mailing list