ipmi:bt-bmc: Fix some format issue of the code
Fix some format issue of the code in bt-bmc.c Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com> Signed-off-by: Shengju Zhang <zhangshengju@cmss.chinamobile.com> Message-Id: <20200414141814.19048-1-tangbin@cmss.chinamobile.com> Signed-off-by: Corey Minyard <cminyard@mvista.com>
This commit is contained in:
parent
0b671eed0c
commit
8ed678dbac
@ -463,9 +463,9 @@ static int bt_bmc_probe(struct platform_device *pdev)
|
|||||||
init_waitqueue_head(&bt_bmc->queue);
|
init_waitqueue_head(&bt_bmc->queue);
|
||||||
|
|
||||||
bt_bmc->miscdev.minor = MISC_DYNAMIC_MINOR,
|
bt_bmc->miscdev.minor = MISC_DYNAMIC_MINOR,
|
||||||
bt_bmc->miscdev.name = DEVICE_NAME,
|
bt_bmc->miscdev.name = DEVICE_NAME,
|
||||||
bt_bmc->miscdev.fops = &bt_bmc_fops,
|
bt_bmc->miscdev.fops = &bt_bmc_fops,
|
||||||
bt_bmc->miscdev.parent = dev;
|
bt_bmc->miscdev.parent = dev;
|
||||||
rc = misc_register(&bt_bmc->miscdev);
|
rc = misc_register(&bt_bmc->miscdev);
|
||||||
if (rc) {
|
if (rc) {
|
||||||
dev_err(dev, "Unable to register misc device\n");
|
dev_err(dev, "Unable to register misc device\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user