Re: [tpmdd-devel] [PATCH] TPM: Provide a tpm_tis OF driver

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rajiv Andrade
Date: Wednesday, March 24, 2010 - 9:20 pm

Just a minor comment

On Tue, 2010-03-09 at 13:01 -0700, Jason Gunthorpe wrote:


Why not 

+#ifdef CONFIG_OF
+	return of_register_platform_driver(&tis_of_driver);
+#elif CONFIG_PNP
+	return pnp_register_driver(&tis_pnp_driver);
+#endif

?

Other than this it looks nice.

Acked-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>


Thanks,
Rajiv

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] TPM: Provide a tpm_tis OF driver, Jason Gunthorpe, (Tue Mar 9, 1:01 pm)
Re: [tpmdd-devel] [PATCH] TPM: Provide a tpm_tis OF driver, Rajiv Andrade, (Wed Mar 24, 9:20 pm)
Re: [tpmdd-devel] [PATCH] TPM: Provide a tpm_tis OF driver, Jason Gunthorpe, (Wed Mar 24, 10:23 pm)