Re: [PATCH] i2c: QUP based bus driver for Qualcomm MSM chipsets

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ben Dooks
Date: Monday, August 9, 2010 - 6:09 am

On 23/07/10 03:47, Kenneth Heitke wrote:

you seem to use msm and qup, could you pick one please?

Do you really need HAVE_CLK in here?

I'd also say you should have a HAVE_I2C_QUP or just enable it for
all MSM arches, compiling the driver shouldn't really break if the
arch doesn't have the peripheral (it's just a waste of space).



I'd put the second comment at the top of the first.


please remove


Please try and avoid anonymous enums.


would have been nice to document this.


the casting here is nasty. how about leaving dev->base out of this?




the device's bus clock really shouldn't need a name.



you'd have been better off using devm to keep track of your resources.


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

Messages in current thread:
Re: [PATCH] i2c: QUP based bus driver for Qualcomm MSM chi ..., Ben Dooks, (Mon Aug 9, 6:09 am)