arch: Fix the style found in review

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-05-01 01:29:32 +08:00 committed by Petro Karashchenko
parent 4a03cab6f9
commit a021177de8
8 changed files with 8 additions and 8 deletions

View File

@ -300,7 +300,7 @@ static int pic32mz_cancel(struct oneshot_lowerhalf_s *lower,
****************************************************************************/
struct oneshot_lowerhalf_s *oneshot_initialize(int chan,
uint16_t resolution)
uint16_t resolution)
{
struct pic32mz_oneshot_lowerhalf_s *priv;
int ret;

View File

@ -359,7 +359,7 @@ static int bl602_cancel(struct oneshot_lowerhalf_s *lower,
****************************************************************************/
struct oneshot_lowerhalf_s *oneshot_initialize(int chan,
uint16_t resolution)
uint16_t resolution)
{
struct bl602_oneshot_lowerhalf_s *priv;
struct timer_cfg_s timstr;

View File

@ -341,7 +341,7 @@ static int oneshot_lh_current(struct oneshot_lowerhalf_s *lower,
****************************************************************************/
struct oneshot_lowerhalf_s *oneshot_initialize(int chan,
uint16_t resolution)
uint16_t resolution)
{
struct esp32c3_oneshot_lowerhalf_s *priv;
int ret;

View File

@ -373,7 +373,7 @@ static int sim_alarm_handler(int irq, void *context, void *arg)
****************************************************************************/
struct oneshot_lowerhalf_s *oneshot_initialize(int chan,
uint16_t resolution)
uint16_t resolution)
{
struct sim_oneshot_lowerhalf_s *priv;

View File

@ -300,7 +300,7 @@ static int bm3803_cancel(struct oneshot_lowerhalf_s *lower,
****************************************************************************/
struct oneshot_lowerhalf_s *oneshot_initialize(int chan,
uint16_t resolution)
uint16_t resolution)
{
struct bm3803_oneshot_lowerhalf_s *priv;
int ret;

View File

@ -446,7 +446,7 @@ int bm3803_timer_initialize(const char *devpath, int timer)
*/
void *drvr = timer_register(devpath,
(struct timer_lowerhalf_s *)lower);
(struct timer_lowerhalf_s *)lower);
if (drvr == NULL)
{
/* The actual cause of the failure may have been a failure to allocate

View File

@ -342,7 +342,7 @@ static int esp32_lh_current(struct oneshot_lowerhalf_s *lower,
****************************************************************************/
struct oneshot_lowerhalf_s *oneshot_initialize(int chan,
uint16_t resolution)
uint16_t resolution)
{
struct esp32_oneshot_lowerhalf_s *priv;
int ret;

View File

@ -341,7 +341,7 @@ static int oneshot_lh_current(struct oneshot_lowerhalf_s *lower,
****************************************************************************/
struct oneshot_lowerhalf_s *oneshot_initialize(int chan,
uint16_t resolution)
uint16_t resolution)
{
struct esp32s2_oneshot_lowerhalf_s *priv;
int ret;