Re: [tpmdd-devel] [PATCH] Use devm_ioremap_resource to reserve resource

2014-07-21 Thread Peter Hüwe
Am Dienstag, 22. Juli 2014, 01:43:30 schrieb Jason Gunthorpe: > On Tue, Jul 22, 2014 at 01:26:05AM +0200, Peter Huewe wrote: > > Unfortunately the tpm_tis driver did never call request_region for its > > adress space - now since we've got devm_ioremap_resource we can simply > > remove all the stuff

Re: [tpmdd-devel] [PATCH] Use devm_ioremap_resource to reserve resource

2014-07-21 Thread Jason Gunthorpe
On Tue, Jul 22, 2014 at 01:26:05AM +0200, Peter Huewe wrote: > Unfortunately the tpm_tis driver did never call request_region for its > adress space - now since we've got devm_ioremap_resource we can simply > remove all the stuff and do everything in one call. > > Cc: > Signed-off-by: Peter Huewe

[PATCH] Use devm_ioremap_resource to reserve resource

2014-07-21 Thread Peter Huewe
Unfortunately the tpm_tis driver did never call request_region for its adress space - now since we've got devm_ioremap_resource we can simply remove all the stuff and do everything in one call. Cc: Signed-off-by: Peter Huewe --- drivers/char/tpm/tpm_tis.c | 10 -- 1 file changed, 4 inse