lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130401060000.GB25376@lizard>
Date:	Sun, 31 Mar 2013 23:00:01 -0700
From:	Anton Vorontsov <anton@...msg.org>
To:	Lars-Peter Clausen <lars@...afoo.de>
Cc:	David Woodhouse <dwmw2@...radead.org>,
	linux-kernel@...r.kernel.org, Minkyu Kang <mk7.kang@...sung.com>
Subject: Re: [PATCH 2/5] power: max17040_battery: Use dev_pm_ops

On Sun, Mar 10, 2013 at 02:34:06PM +0100, Lars-Peter Clausen wrote:
> Use dev_pm_ops instead of the deprecated legacy suspend/resume callbacks.
> 
> Cc: Minkyu Kang <mk7.kang@...sung.com>
> Signed-off-by: Lars-Peter Clausen <lars@...afoo.de>
> ---

Patches 1-3 applied, thanks a lot!

[...]
> @@ -278,14 +281,14 @@ static const struct i2c_device_id max17040_id[] = {
>  };
>  MODULE_DEVICE_TABLE(i2c, max17040_id);
>  
> +

(Stray new line...)

>  static struct i2c_driver max17040_i2c_driver = {
>  	.driver	= {
>  		.name	= "max17040",
> +		.pm	= MAX17040_PM_OPS,
>  	},
>  	.probe		= max17040_probe,
>  	.remove		= max17040_remove,
> -	.suspend	= max17040_suspend,
> -	.resume		= max17040_resume,
>  	.id_table	= max17040_id,
>  };
>  module_i2c_driver(max17040_i2c_driver);
> -- 
> 1.8.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ