OSDN Git Service

hw/onenand: Remove unnecessary argument from onenand_command()
authorJuha Riihimäki <juha.riihimaki@nokia.com>
Sun, 28 Aug 2011 16:33:02 +0000 (16:33 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Sun, 28 Aug 2011 16:33:02 +0000 (16:33 +0000)
commit82866965e98030b780d6097af27afe347583f45e
treeb2210e48fc9810d8475661c5d72952b1170c0803
parent46c305ef6b0d1ed6c85e863568fccc03caf7f75e
hw/onenand: Remove unnecessary argument from onenand_command()

Refactor onenand_command() -- since it is essentially a method of
the device object, it doesn't make sense to pass in something as
an argument which is one of the object's own member fields.

Signed-off-by: Juha Riihimäki <juha.riihimaki@nokia.com>
[Riku Voipio: Fixes and restructuring patchset]
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
[Peter Maydell: More fixes and cleanups for upstream submission]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/onenand.c