diff mbox

[7/9] staging: sm750fb: fix block comment style issues in ddk750_chip.c

Message ID ad80e695e9730861466d5960359b06af27ca7c30.1472583825.git.mgmoshes@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Moshe Green Aug. 30, 2016, 7:05 p.m. UTC
Fix block comment * prefix and trailing */ warnings found
by the checkpatch.pl tool in ddk750_chip.c.

Signed-off-by: Moshe Green <mgmoshes@gmail.com>
---
 drivers/staging/sm750fb/ddk750_chip.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Comments

Joe Perches Aug. 30, 2016, 7:19 p.m. UTC | #1
On Tue, 2016-08-30 at 22:05 +0300, Moshe Green wrote:
> Fix block comment * prefix and trailing */ warnings found
> by the checkpatch.pl tool in ddk750_chip.c.
[]
> diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c
[]
> @@ -320,8 +320,10 @@ unsigned int calcPllValue(unsigned int request_orig, pll_value_t *pll)
>  	int max_d = 6;
>  
>  	if (getChipType() == SM750LE) {
> -		/* SM750LE don't have prgrammable PLL and M/N values to work on.
> -		Just return the requested clock. */
> +		/* SM750LE don't have
> +		 * prgrammable PLL and M/N values to work on

Might as well fix the programmable typo too.

--
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Moshe Green Aug. 30, 2016, 7:42 p.m. UTC | #2
Will do.
Thanks

On 30 August 2016 at 22:19, Joe Perches <joe@perches.com> wrote:
> On Tue, 2016-08-30 at 22:05 +0300, Moshe Green wrote:
>> Fix block comment * prefix and trailing */ warnings found
>> by the checkpatch.pl tool in ddk750_chip.c.
> []
>> diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c
> []
>> @@ -320,8 +320,10 @@ unsigned int calcPllValue(unsigned int request_orig, pll_value_t *pll)
>>       int max_d = 6;
>>
>>       if (getChipType() == SM750LE) {
>> -             /* SM750LE don't have prgrammable PLL and M/N values to work on.
>> -             Just return the requested clock. */
>> +             /* SM750LE don't have
>> +              * prgrammable PLL and M/N values to work on
>
> Might as well fix the programmable typo too.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c
index 5e954ea..c59fe22 100644
--- a/drivers/staging/sm750fb/ddk750_chip.c
+++ b/drivers/staging/sm750fb/ddk750_chip.c
@@ -320,8 +320,10 @@  unsigned int calcPllValue(unsigned int request_orig, pll_value_t *pll)
 	int max_d = 6;
 
 	if (getChipType() == SM750LE) {
-		/* SM750LE don't have prgrammable PLL and M/N values to work on.
-		Just return the requested clock. */
+		/* SM750LE don't have
+		 * prgrammable PLL and M/N values to work on.
+		 * Just return the requested clock.
+		 */
 		return request_orig;
 	}