* [PATCH] docs: w1: Remove w1_gpio_platform_data
@ 2024-03-06 19:46 Ayush Singh
2024-03-06 21:33 ` Randy Dunlap
2024-03-07 7:43 ` Krzysztof Kozlowski
0 siblings, 2 replies; 3+ messages in thread
From: Ayush Singh @ 2024-03-06 19:46 UTC (permalink / raw)
To: linux-doc; +Cc: Ayush Singh, linux-kernel, krzysztof.kozlowski, corbet
`linux/w1-gpio.h` was removed in a previous patch and should no longer be
needed for using w1 gpio.
- Removal Patch: https://lore.kernel.org/all/cover.1701727212.git.u.kleine-koenig@pengutronix.de/
Signed-off-by: Ayush Singh <ayushdevel1325@gmail.com>
---
Documentation/w1/masters/w1-gpio.rst | 6 ------
1 file changed, 6 deletions(-)
diff --git a/Documentation/w1/masters/w1-gpio.rst b/Documentation/w1/masters/w1-gpio.rst
index 15236605503b..5d7eebc291bb 100644
--- a/Documentation/w1/masters/w1-gpio.rst
+++ b/Documentation/w1/masters/w1-gpio.rst
@@ -20,7 +20,6 @@ Example (mach-at91)
::
#include <linux/gpio/machine.h>
- #include <linux/w1-gpio.h>
static struct gpiod_lookup_table foo_w1_gpiod_table = {
.dev_id = "w1-gpio",
@@ -30,14 +29,9 @@ Example (mach-at91)
},
};
- static struct w1_gpio_platform_data foo_w1_gpio_pdata = {
- .ext_pullup_enable_pin = -EINVAL,
- };
-
static struct platform_device foo_w1_device = {
.name = "w1-gpio",
.id = -1,
- .dev.platform_data = &foo_w1_gpio_pdata,
};
...
--
2.44.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] docs: w1: Remove w1_gpio_platform_data
2024-03-06 19:46 [PATCH] docs: w1: Remove w1_gpio_platform_data Ayush Singh
@ 2024-03-06 21:33 ` Randy Dunlap
2024-03-07 7:43 ` Krzysztof Kozlowski
1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2024-03-06 21:33 UTC (permalink / raw)
To: Ayush Singh, linux-doc; +Cc: linux-kernel, krzysztof.kozlowski, corbet
On 3/6/24 11:46, Ayush Singh wrote:
> `linux/w1-gpio.h` was removed in a previous patch and should no longer be
> needed for using w1 gpio.
>
> - Removal Patch: https://lore.kernel.org/all/cover.1701727212.git.u.kleine-koenig@pengutronix.de/
>
> Signed-off-by: Ayush Singh <ayushdevel1325@gmail.com>
Possibly add:
Fixes: 9c0a5b3f9e55 ("w1: gpio: Don't use platform data for driver data")
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.
> ---
> Documentation/w1/masters/w1-gpio.rst | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/Documentation/w1/masters/w1-gpio.rst b/Documentation/w1/masters/w1-gpio.rst
> index 15236605503b..5d7eebc291bb 100644
> --- a/Documentation/w1/masters/w1-gpio.rst
> +++ b/Documentation/w1/masters/w1-gpio.rst
> @@ -20,7 +20,6 @@ Example (mach-at91)
> ::
>
> #include <linux/gpio/machine.h>
> - #include <linux/w1-gpio.h>
>
> static struct gpiod_lookup_table foo_w1_gpiod_table = {
> .dev_id = "w1-gpio",
> @@ -30,14 +29,9 @@ Example (mach-at91)
> },
> };
>
> - static struct w1_gpio_platform_data foo_w1_gpio_pdata = {
> - .ext_pullup_enable_pin = -EINVAL,
> - };
> -
> static struct platform_device foo_w1_device = {
> .name = "w1-gpio",
> .id = -1,
> - .dev.platform_data = &foo_w1_gpio_pdata,
> };
>
> ...
--
#Randy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] docs: w1: Remove w1_gpio_platform_data
2024-03-06 19:46 [PATCH] docs: w1: Remove w1_gpio_platform_data Ayush Singh
2024-03-06 21:33 ` Randy Dunlap
@ 2024-03-07 7:43 ` Krzysztof Kozlowski
1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-07 7:43 UTC (permalink / raw)
To: Ayush Singh, linux-doc; +Cc: linux-kernel, corbet
On 06/03/2024 20:46, Ayush Singh wrote:
> `linux/w1-gpio.h` was removed in a previous patch and should no longer be
> needed for using w1 gpio.
>
> - Removal Patch: https://lore.kernel.org/all/cover.1701727212.git.u.kleine-koenig@pengutronix.de/
Do not refer to lore patches for commits which were accepted. Refer to
commits (see submitting patches).
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-03-07 7:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-06 19:46 [PATCH] docs: w1: Remove w1_gpio_platform_data Ayush Singh
2024-03-06 21:33 ` Randy Dunlap
2024-03-07 7:43 ` Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).