@@ -124,7 +124,7 @@ static u_long get_line_length(int xres_virtual, int bpp)
124
124
* First part, xxxfb_check_var, must not write anything
125
125
* to hardware, it should only verify and adjust var.
126
126
* This means it doesn't alter par but it does use hardware
127
- * data from it to check this var.
127
+ * data from it to check this var.
128
128
*/
129
129
130
130
static int mc68x328fb_check_var (struct fb_var_screeninfo * var ,
@@ -182,7 +182,7 @@ static int mc68x328fb_check_var(struct fb_var_screeninfo *var,
182
182
183
183
/*
184
184
* Now that we checked it we alter var. The reason being is that the video
185
- * mode passed in might not work but slight changes to it might make it
185
+ * mode passed in might not work but slight changes to it might make it
186
186
* work. This way we let the user know what is acceptable.
187
187
*/
188
188
switch (var -> bits_per_pixel ) {
@@ -257,8 +257,8 @@ static int mc68x328fb_check_var(struct fb_var_screeninfo *var,
257
257
}
258
258
259
259
/* This routine actually sets the video mode. It's in here where we
260
- * the hardware state info->par and fix which can be affected by the
261
- * change in par. For this driver it doesn't do much.
260
+ * the hardware state info->par and fix which can be affected by the
261
+ * change in par. For this driver it doesn't do much.
262
262
*/
263
263
static int mc68x328fb_set_par (struct fb_info * info )
264
264
{
@@ -295,7 +295,7 @@ static int mc68x328fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
295
295
* {hardwarespecific} contains width of RAMDAC
296
296
* cmap[X] is programmed to (X << red.offset) | (X << green.offset) | (X << blue.offset)
297
297
* RAMDAC[X] is programmed to (red, green, blue)
298
- *
298
+ *
299
299
* Pseudocolor:
300
300
* uses offset = 0 && length = RAMDAC register width.
301
301
* var->{color}.offset is 0
@@ -384,7 +384,7 @@ static int mc68x328fb_pan_display(struct fb_var_screeninfo *var,
384
384
}
385
385
386
386
/*
387
- * Most drivers don't need their own mmap function
387
+ * Most drivers don't need their own mmap function
388
388
*/
389
389
390
390
static int mc68x328fb_mmap (struct fb_info * info , struct vm_area_struct * vma )
0 commit comments