drivers/sensors/xen1210.c: Appease nxstyle

This commit is contained in:
YAMAMOTO Takashi
2020-11-29 18:34:17 +09:00
committed by Xiang Xiao
parent cd49c310c6
commit 52d539d201
+2 -1
View File
@@ -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");