mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
drivers/sensors/xen1210.c: Appease nxstyle
This commit is contained in:
committed by
Xiang Xiao
parent
cd49c310c6
commit
52d539d201
@@ -289,7 +289,8 @@ XEN1210_HANDLE xen1210_instantiate(FAR struct spi_dev_s *dev,
|
|||||||
|
|
||||||
/* Allocate the XEN1210 driver instance */
|
/* Allocate the XEN1210 driver instance */
|
||||||
|
|
||||||
priv = (FAR struct xen1210_dev_s *)kmm_zalloc(sizeof(struct xen1210_dev_s));
|
priv = (FAR struct xen1210_dev_s *)
|
||||||
|
kmm_zalloc(sizeof(struct xen1210_dev_s));
|
||||||
if (!priv)
|
if (!priv)
|
||||||
{
|
{
|
||||||
snerr("ERROR: Failed to allocate the device structure!\n");
|
snerr("ERROR: Failed to allocate the device structure!\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user