diff options
Diffstat (limited to 'drivers/xen/pcpu.c')
| -rw-r--r-- | drivers/xen/pcpu.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/drivers/xen/pcpu.c b/drivers/xen/pcpu.c index 47aa3a1ccaf5..fd3a644b0855 100644 --- a/drivers/xen/pcpu.c +++ b/drivers/xen/pcpu.c @@ -228,7 +228,7 @@ static int register_pcpu(struct pcpu *pcpu)  	err = device_register(dev);  	if (err) { -		pcpu_release(dev); +		put_device(dev);  		return err;  	} |