[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGngYiXtUBbYocb885CPCaXNM=uckeiHc47FXKghDz_B-WNYrg@mail.gmail.com>
Date: Fri, 8 Dec 2017 09:10:17 -0500
From: Sven Van Asbroeck <thesven73@...il.com>
To: Bartosz Golaszewski <brgl@...ev.pl>
Cc: Sven Van Asbroeck <svendev@...x.com>,
Wolfram Sang <wsa@...-dreams.de>, nsekhar@...com,
Sakari Ailus <sakari.ailus@...ux.intel.com>,
Javier Martinez Canillas <javier@...hile0.org>,
Divagar Mohandass <divagar.mohandass@...el.com>,
devicetree@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-i2c <linux-i2c@...r.kernel.org>
Subject: Re: [PATCH v1 1/2] eeprom: at24: convert magic numbers to structs.
Hi Bartosz, thanks for the encouragement !
Bartosz wrote:
> Also: please have the AT24/at24 prefix for symbols in the driver.
These specific symbols are declared static, i.e. they're visible only
inside at24.c.
Do you think they should still have an at24 prefix ?
+#define DECLARE_AT24_PLATDATA(_name, _len, _flags) \
+ static const struct at24_platform_data platdata_##_name = { \
+ .byte_len = _len, .flags = _flags, \
+ }
Powered by blists - more mailing lists