Hi, On Wed, Dec 03, 2014 at 12:21:07AM +0100, Peter Hüwe wrote: > --- a/drivers/char/tpm/tpm_i2c_nuvoton.c > +++ b/drivers/char/tpm/tpm_i2c_nuvoton.c > @@ -605,10 +605,8 @@ static int i2c_nuvoton_probe(struct i2c_client *client, > return -ENODEV; > > rc = tpm_chip_register(chip); > - if (rc) > - return rc; > > - return 0; > + return rc;
Maybe just return tpm_chip_register(chip)? A. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net _______________________________________________ TrouSerS-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/trousers-tech
