lkml.org 
[lkml]   [2013]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [tpmdd-devel] [PATCH 3/4] tpm: Convert tpm_tis driver to use dev_pm_ops from legacy pm_ops
Date
Hi,

thanks for your patch
> static struct pnp_device_id tpm_pnp_tbl[] = {
> {"PNP0C31", 0}, /* TPM */
> {"ATM1200", 0}, /* Atmel */
> @@ -835,9 +834,12 @@ static struct pnp_driver tis_pnp_driver = {
> .name = "tpm_tis",
> .id_table = tpm_pnp_tbl,
> .probe = tpm_tis_pnp_init,
> - .suspend = tpm_tis_pnp_suspend,
> - .resume = tpm_tis_pnp_resume,
> .remove = tpm_tis_pnp_remove,
> +#ifdef CONFIG_PM_SLEEP
> + .driver = {
> + .pm = &tpm_tis_pm,
> + },
> +#endif
> };


I don't think the #if CONFIG_PM_SLEEP is required here.

Thanks,
Peter


\
 
 \ /
  Last update: 2013-07-11 01:41    [W:0.066 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site