@@ -1844,26 +1844,10 @@ static void __init of_unittest_overlay_gpio(void)
1844
1844
unittest (overlay_data_apply ("overlay_gpio_02b" , NULL ),
1845
1845
"Adding overlay 'overlay_gpio_02b' failed\n" );
1846
1846
1847
- /*
1848
- * messages are the result of the probes, after the
1849
- * driver is registered
1850
- */
1851
-
1852
- EXPECT_BEGIN (KERN_DEBUG ,
1853
- "gpio-<<int>> (line-B-input): hogged as input\n" );
1854
-
1855
- EXPECT_BEGIN (KERN_DEBUG ,
1856
- "gpio-<<int>> (line-A-input): hogged as input\n" );
1857
-
1858
1847
ret = platform_driver_register (& unittest_gpio_driver );
1859
1848
if (unittest (ret == 0 , "could not register unittest gpio driver\n" ))
1860
1849
return ;
1861
1850
1862
- EXPECT_END (KERN_DEBUG ,
1863
- "gpio-<<int>> (line-A-input): hogged as input\n" );
1864
- EXPECT_END (KERN_DEBUG ,
1865
- "gpio-<<int>> (line-B-input): hogged as input\n" );
1866
-
1867
1851
unittest (probe_pass_count + 2 == unittest_gpio_probe_pass_count ,
1868
1852
"unittest_gpio_probe() failed or not called\n" );
1869
1853
@@ -1888,17 +1872,11 @@ static void __init of_unittest_overlay_gpio(void)
1888
1872
probe_pass_count = unittest_gpio_probe_pass_count ;
1889
1873
chip_request_count = unittest_gpio_chip_request_count ;
1890
1874
1891
- EXPECT_BEGIN (KERN_DEBUG ,
1892
- "gpio-<<int>> (line-D-input): hogged as input\n" );
1893
-
1894
1875
/* overlay_gpio_03 contains gpio node and child gpio hog node */
1895
1876
1896
1877
unittest (overlay_data_apply ("overlay_gpio_03" , NULL ),
1897
1878
"Adding overlay 'overlay_gpio_03' failed\n" );
1898
1879
1899
- EXPECT_END (KERN_DEBUG ,
1900
- "gpio-<<int>> (line-D-input): hogged as input\n" );
1901
-
1902
1880
unittest (probe_pass_count + 1 == unittest_gpio_probe_pass_count ,
1903
1881
"unittest_gpio_probe() failed or not called\n" );
1904
1882
@@ -1935,17 +1913,11 @@ static void __init of_unittest_overlay_gpio(void)
1935
1913
* - processing gpio for overlay_gpio_04b
1936
1914
*/
1937
1915
1938
- EXPECT_BEGIN (KERN_DEBUG ,
1939
- "gpio-<<int>> (line-C-input): hogged as input\n" );
1940
-
1941
1916
/* overlay_gpio_04b contains child gpio hog node */
1942
1917
1943
1918
unittest (overlay_data_apply ("overlay_gpio_04b" , NULL ),
1944
1919
"Adding overlay 'overlay_gpio_04b' failed\n" );
1945
1920
1946
- EXPECT_END (KERN_DEBUG ,
1947
- "gpio-<<int>> (line-C-input): hogged as input\n" );
1948
-
1949
1921
unittest (chip_request_count + 1 == unittest_gpio_chip_request_count ,
1950
1922
"unittest_gpio_chip_request() called %d times (expected 1 time)\n" ,
1951
1923
unittest_gpio_chip_request_count - chip_request_count );
0 commit comments