Re: [PATCH 2/4] staging: dgap: pass "brd" as a paramter to dgap_after_config_loaded()

From: DaeSeok Youn
Date: Tue Jun 03 2014 - 03:55:19 EST


2014-06-03 16:22 GMT+09:00 Dan Carpenter <dan.carpenter@xxxxxxxxxx>:
> On Tue, Jun 03, 2014 at 03:27:28PM +0900, Daeseok Youn wrote:
>> -static int dgap_after_config_loaded(int board)
>> +static int dgap_after_config_loaded(struct board_t *brd)
>> {
>> + int board = brd->boardnum;
>> +
>
> We don't need to use "board" in this function. We can replaced
> "dgap_board[board]->" with "brd->"
OK. I will fix as your comment and resend.
Thanks

regards,
Daeseok Youn.
>
>> /*
>> * Initialize KME waitqueues...
>> */
>
> regards,
> dan carpenter
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/