give a warning to vs let someone know

give a warning to

let someone know

How often have the words give a warning to and let someone know occurred in a corpus of books? (source: Google Ngram Viewer )