Re: [PATCH 2.6] Remove NULL client checks in rtc8564 driver

2005-02-25 Thread Greg KH
On Thu, Feb 24, 2005 at 10:49:57PM +0100, Jean Delvare wrote: > Hi Stefan, > > Several functions in your rtc8564 driver verify the non-NULLity of the > i2c client that is passed to them. It doesn't seem to be necessary, as I > can't think of any case where these functions could possibly be called

[PATCH 2.6] Remove NULL client checks in rtc8564 driver

2005-02-24 Thread Jean Delvare
Hi Stefan, Several functions in your rtc8564 driver verify the non-NULLity of the i2c client that is passed to them. It doesn't seem to be necessary, as I can't think of any case where these functions could possibly be called with a NULL i2c client. As a matter of fact, I couldn't find any similar