Thread (25 messages) 25 messages, 2 authors, 2022-08-05

Re: [PATCH v15 mfd 9/9] mfd: ocelot: add support for the vsc7512 chip via spi

From: Colin Foster <colin.foster@in-advantage.com>
Date: 2022-08-05 18:07:17
Also in: linux-arm-kernel, linux-devicetree, linux-gpio, lkml

On Fri, Aug 05, 2022 at 07:58:06PM +0200, Andy Shevchenko wrote:
On Fri, Aug 5, 2022 at 7:44 PM Colin Foster
[off-list ref] wrote:
quoted
As I'm going through Andy's suggestions, I came across a couple more
include changes / misses:

On Tue, Aug 02, 2022 at 10:47:28PM -0700, Colin Foster wrote:
...
quoted
quoted
+int ocelot_chip_reset(struct device *dev)
#include <linux/device.h>
Nope,

struct device;

...
quoted
quoted
+static int ocelot_spi_initialize(struct device *dev)
#include <linux/device.h>
Ditto.
ocelot-spi.c uses devm_kzalloc, so that should still be included.

ocelot-core.c uses dev_get_drvdata.

So I think I still want the includes... but for different reasons.
-- 
With Best Regards,
Andy Shevchenko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help