LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [POWERPC] Comment out a currently unused function
@ 2007-05-21  5:40 Stephen Rothwell
  2007-05-21  7:19 ` Michael Ellerman
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2007-05-21  5:40 UTC (permalink / raw)
  To: paulus; +Cc: ppc-dev


Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/macintosh/windfarm_smu_sat.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

diff --git a/drivers/macintosh/windfarm_smu_sat.c b/drivers/macintosh/windfarm_smu_sat.c
index 1043b39..42b767a 100644
--- a/drivers/macintosh/windfarm_smu_sat.c
+++ b/drivers/macintosh/windfarm_smu_sat.c
@@ -400,10 +400,12 @@ static int __init sat_sensors_init(void)
 	return i2c_add_driver(&wf_sat_driver);
 }
 
+#if 0	/* uncomment when module_exit() below is uncommented */
 static void __exit sat_sensors_exit(void)
 {
 	i2c_del_driver(&wf_sat_driver);
 }
+#endif
 
 module_init(sat_sensors_init);
 /*module_exit(sat_sensors_exit); Uncomment when cleanup is implemented */
-- 
1.5.1.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] [POWERPC] Comment out a currently unused function
  2007-05-21  5:40 [PATCH] [POWERPC] Comment out a currently unused function Stephen Rothwell
@ 2007-05-21  7:19 ` Michael Ellerman
  2007-05-21  7:36   ` Stephen Rothwell
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Ellerman @ 2007-05-21  7:19 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: ppc-dev, paulus

[-- Attachment #1: Type: text/plain, Size: 1145 bytes --]

On Mon, 2007-05-21 at 15:40 +1000, Stephen Rothwell wrote:
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
> ---
>  drivers/macintosh/windfarm_smu_sat.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> -- 
> Cheers,
> Stephen Rothwell                    sfr@canb.auug.org.au
> 
> diff --git a/drivers/macintosh/windfarm_smu_sat.c b/drivers/macintosh/windfarm_smu_sat.c
> index 1043b39..42b767a 100644
> --- a/drivers/macintosh/windfarm_smu_sat.c
> +++ b/drivers/macintosh/windfarm_smu_sat.c
> @@ -400,10 +400,12 @@ static int __init sat_sensors_init(void)
>  	return i2c_add_driver(&wf_sat_driver);
>  }
>  
> +#if 0	/* uncomment when module_exit() below is uncommented */
>  static void __exit sat_sensors_exit(void)
>  {
>  	i2c_del_driver(&wf_sat_driver);
>  }
> +#endif

Why not remove it? You can always get it back with git.

cheers

-- 
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] [POWERPC] Comment out a currently unused function
  2007-05-21  7:19 ` Michael Ellerman
@ 2007-05-21  7:36   ` Stephen Rothwell
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Rothwell @ 2007-05-21  7:36 UTC (permalink / raw)
  To: michael; +Cc: ppc-dev, paulus

[-- Attachment #1: Type: text/plain, Size: 426 bytes --]

On Mon, 21 May 2007 17:19:30 +1000 Michael Ellerman <michael@ellerman.id.au> wrote:
>
> Why not remove it? You can always get it back with git.

Because I am hopeful that the comment on the module_exit() line is
implying that the maintainer (or someone else who knows what is going on)
is intending to fis it up soon.  :-)

--
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] [POWERPC] Comment out a currently unused function
@ 2007-08-15  6:54 Stephen Rothwell
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Rothwell @ 2007-08-15  6:54 UTC (permalink / raw)
  To: paulus; +Cc: ppc-dev


Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/macintosh/windfarm_smu_sat.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

diff --git a/drivers/macintosh/windfarm_smu_sat.c b/drivers/macintosh/windfarm_smu_sat.c
index 351982b..f449d77 100644
--- a/drivers/macintosh/windfarm_smu_sat.c
+++ b/drivers/macintosh/windfarm_smu_sat.c
@@ -380,10 +380,12 @@ static int __init sat_sensors_init(void)
 	return i2c_add_driver(&wf_sat_driver);
 }
 
+#if 0	/* uncomment when module_exit() below is uncommented */
 static void __exit sat_sensors_exit(void)
 {
 	i2c_del_driver(&wf_sat_driver);
 }
+#endif
 
 module_init(sat_sensors_init);
 /*module_exit(sat_sensors_exit); Uncomment when cleanup is implemented */
-- 
1.5.2.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-08-15  6:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-21  5:40 [PATCH] [POWERPC] Comment out a currently unused function Stephen Rothwell
2007-05-21  7:19 ` Michael Ellerman
2007-05-21  7:36   ` Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2007-08-15  6:54 Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox