Skip to content

Commit

Permalink
clockevents: Rename last parameter of clocks_calc_mult_shift() to maxsec
Browse files Browse the repository at this point in the history
Last parameter of the clocks_calc_mult_shift() was renamed from minsec to
maxsec in the 5fdade9 (time: Rename misnamed minsec argument of
clocks_calc_mult_shift()).

Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
Link: http://lkml.kernel.org/r/1444987253-11018-1-git-send-email-kuleshovmail@gmail.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Alexander Kuleshov authored and Thomas Gleixner committed Jan 27, 2016
1 parent 92e963f commit dd42ac8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/linux/clockchips.h
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,9 @@ extern void clockevents_config_and_register(struct clock_event_device *dev,
extern int clockevents_update_freq(struct clock_event_device *ce, u32 freq);

static inline void
clockevents_calc_mult_shift(struct clock_event_device *ce, u32 freq, u32 minsec)
clockevents_calc_mult_shift(struct clock_event_device *ce, u32 freq, u32 maxsec)
{
return clocks_calc_mult_shift(&ce->mult, &ce->shift, NSEC_PER_SEC, freq, minsec);
return clocks_calc_mult_shift(&ce->mult, &ce->shift, NSEC_PER_SEC, freq, maxsec);
}

extern void clockevents_suspend(void);
Expand Down

0 comments on commit dd42ac8

Please sign in to comment.