arch: Fix the style found in review
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
4a03cab6f9
commit
a021177de8
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user